Print Thread
Page 1 of 2 1 2
saving files in UTF8
#43722 04/10/12 09:23 AM
Joined: Apr 2012
Posts: 1
A
agathis Offline OP
Member
OP Offline
Member
A
Joined: Apr 2012
Posts: 1
is it possible to force plsqldev to save files in UTF8 instead of local ANSI encoding?

it causes a lot of problems for us and I didn't find any settings responsible for that.

I even found an old topic where it was promised: https://forums.allroundautomations.com/ubb/ubbthreads.php?ubb=showflat&Number=36201

I use 9.0.4.1644 version.

Thanks!

Re: saving files in UTF8
agathis #43724 04/10/12 09:24 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
Yes, you can go to Tools > Preferences > Files / Format and set the "Encoding" option to "Always UTF8".


Marco Kalter
Allround Automations
Re: saving files in UTF8
Marco Kalter #43856 04/27/12 01:24 PM
Joined: Sep 2006
Posts: 3
CH
J
Member
Offline
Member
J
Joined: Sep 2006
Posts: 3
CH
I have been using UTF8 encoding successfully with PL/SQL Developer. Nevertheless, when i want to run a UTF8-encoded script in SQL*Plus, it complains because of the byte-order-mark (BOM) at the beginning of the file. The same happens with Oracle's SQL Developer. These tools do understand UTF8 WITHOUT BOM...

Would it be possible to add a checkbox "Without BOM" at the Encoding Preference? That would be really helpful.

Re: saving files in UTF8
jammerhammer #43861 04/28/12 08:00 AM
Joined: Dec 2005
Posts: 23
Japan
T
Member
Offline
Member
T
Joined: Dec 2005
Posts: 23
Japan
I want checkbox "Without BOM" at the Save Dialog not only Encoding Preference.

It's vary useful in Japanese too.

Re: saving files in UTF8
taka #46165 02/20/13 08:46 AM
Joined: Mar 2008
Posts: 29
Oslo, Norway
S
Member
Offline
Member
S
Joined: Mar 2008
Posts: 29
Oslo, Norway
This has been requested or discussed previously as well.

This is still an issue in 10 beta 9. Several times I have committed code which fails when deployed to a Linux environment because of this. I have to manually convert all files.

This should really be a simple issue if not an development language limitation.

Marco, can you implement a "no BOM" save file feature for UTF8?

BOM: http://en.wikipedia.org/wiki/Byte_order_mark

Regards
Stian


Regards
Stian
Re: saving files in UTF8
Stian #46168 02/20/13 10:09 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
I think we can still extend the file format preference for 10.0.0.


Marco Kalter
Allround Automations
Re: saving files in UTF8
Marco Kalter #46175 02/20/13 12:29 PM
Joined: Mar 2008
Posts: 29
Oslo, Norway
S
Member
Offline
Member
S
Joined: Mar 2008
Posts: 29
Oslo, Norway
This would be awesome! smile


Regards
Stian
Re: saving files in UTF8
Stian #47361 06/26/13 10:16 AM
Joined: Jun 2013
Posts: 3
A
Member
Offline
Member
A
Joined: Jun 2013
Posts: 3
Hi!
Now I have 10.0.3.1701 version. But I can't found "no BOM" save file feature. I realy need for this. Help me please.

Re: saving files in UTF8
Aleksandr Zaboti #47374 06/27/13 09:53 AM
Joined: Aug 1999
Posts: 22,219
Member
Offline
Member
Joined: Aug 1999
Posts: 22,219
You can go to Tools > Preferences > Files / Format and set the "Encoding" option to "Always ANSI".


Marco Kalter
Allround Automations
Re: saving files in UTF8
Marco Kalter #47400 07/01/13 11:46 AM
Joined: Jun 2013
Posts: 3
A
Member
Offline
Member
A
Joined: Jun 2013
Posts: 3
Marco, in this way file was not been UTF8. How I can save file in UTF8 without BOM?

Page 1 of 2 1 2

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.081s Queries: 15 (0.024s) Memory: 2.5602 MB (Peak: 3.0420 MB) Data Comp: Off Server Time: 2024-05-15 13:43:44 UTC
Valid HTML 5 and Valid CSS