Print Thread
files saved in unicode
#62593 05/26/21 09:05 AM
Joined: Mar 2004
Posts: 166
V
vlevi Offline OP
Member
OP Offline
Member
V
Joined: Mar 2004
Posts: 166
PL/SQL Developer 14.0.6.1988 saves the sql, prc, ... files in unicode format, but unicode is not enabled in preferences.
It is a problem for us, because we have to use SQL*Plus, and other text editors for other tasks, which does not handle unicode.
The problem can be reproduced.
When I write the text directly into PL/SQL Developer, it does not uses unicode.
When I copy a text from this old text editor into a pl/SQL Developer program editor, and save it, it changes to unicode.
When I delete this copied text, and re-save it, unicode disappears.

I tried to copy from Windows notepad and paste it to PL/SQL Developer, the problem can be reproduced, but not every time.

Last edited by vlevi; 05/26/21 10:39 AM.
Re: files saved in unicode
vlevi #62594 05/27/21 09:21 AM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
A file will be saved in Unicode format if it contains characters that are not part of the character set used by Windows. These characters would otherwise be lost. For example, if Windows uses a western character set and your file contains the following:
Code
begin
  var := 'オラクル';
end;
Then the saved file will be encoded in Unicode format.


Marco Kalter
Allround Automations
Re: files saved in unicode
vlevi #62599 05/31/21 08:57 AM
Joined: Mar 2004
Posts: 166
V
vlevi Offline OP
Member
OP Offline
Member
V
Joined: Mar 2004
Posts: 166
I don't know why, but I noticed this behavior in the recent days (weeks), never seen this before.

We are using hungarian character set, the Windows is set to hungarian as default (not english language installed).
the codepage is Win 1250, which contains all the hungarian national characters.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.031s Queries: 14 (0.007s) Memory: 2.5055 MB (Peak: 3.0427 MB) Data Comp: Off Server Time: 2024-05-20 01:36:08 UTC
Valid HTML 5 and Valid CSS