Hello !
I have 10.0.5.1710 PL/SQL developer version, win 7 ,system locale = Latvian.
PLSD strangely autodetects encoding on file open :
1) If first 10'003 bytes contain any Latvian character (ANSI) => file encoding = Windows-1257 (regardless of number of bytes that correspond to LV symbols in UTF-8 in the rest of file)
2) Elsif first 10'003 bytes contain any Latvian character (UTF-8) => file encoding = UTF-8 (regardless of number of bytes that correspond to LV symbols in Windows-1257 in the rest of file)
3) else file encoding = Windows-1257
So :
1) Does PLSD uses only first 10'000 bytes for character encoding detetection ??
2) It looks that Preferences->Files->Format->Encoding option (Autodetect/UTF8/ANSI) works only on file save, not on open ?
I have 10.0.5.1710 PL/SQL developer version, win 7 ,system locale = Latvian.
PLSD strangely autodetects encoding on file open :
1) If first 10'003 bytes contain any Latvian character (ANSI) => file encoding = Windows-1257 (regardless of number of bytes that correspond to LV symbols in UTF-8 in the rest of file)
2) Elsif first 10'003 bytes contain any Latvian character (UTF-8) => file encoding = UTF-8 (regardless of number of bytes that correspond to LV symbols in Windows-1257 in the rest of file)
3) else file encoding = Windows-1257
So :
1) Does PLSD uses only first 10'000 bytes for character encoding detetection ??
2) It looks that Preferences->Files->Format->Encoding option (Autodetect/UTF8/ANSI) works only on file save, not on open ?