現有Oracle數據庫存在編碼問題。從Java方面,我應用這些並修復它:PL/SQL多次應用相同的函數
textToEscape = textToEscape.replace(/ö/g, 'ö');
textToEscape = textToEscape.replace(/ç/g, 'ç');
textToEscape = textToEscape.replace(/ü/g, 'ü');
textToEscape = textToEscape.replace(/ÅŸ/g, 'ş');
textToEscape = textToEscape.replace(/Ä/g, 'ğ');
有一個從數據庫中檢索數據的過程。我想寫一個函數並在其中應用替換序列。我發現鏈接:
https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions134.htm
但是我想申請隨之而來的內容替換。我如何鏈接它們?
轉換爲'WE8ISO8859P1'應該可以工作,但不能。 – kamaci