Page 1 of 1

Remembering BOM setting

Posted: Sat Feb 23, 2008 11:59 am
by Faalagorn
It would be great, if AkelPad could also remeber enabled/disabled BOM setting along with charset when saving a file.

Posted: Sat Feb 23, 2008 1:28 pm
by Instructor
From AkelPad 3.0.9 changelog:
Changed: now recent files code page information doesn't contain BOM, which always again detected during file opening.
For what you need this?

Posted: Mon Aug 04, 2008 7:33 pm
by pvagner
Hello,
I have found a quite unusual behaviour related to this I believe.
When automatic code page detection is turned on UTF-8 BOM is not always respected and this automatic page detection might detect the codepage wrong.
For slovak language default ansi code page is windows-1250. If I'll write a text in slovak, save it in UTF-8 with BOM, turn automatic code page detection to latin; subsekvent tryals to open such file result in windows-1250 code page being detected. I think when UTF-8 BOM is present there should be no detection taking place.

Posted: Mon Aug 04, 2008 7:56 pm
by Instructor
pvagner
Make sure that the file has BOM :)

Posted: Mon Aug 04, 2008 8:41 pm
by pvagner
Instructor wrote:pvagner
Make sure that the file has BOM :)
I think it really has BOM.
When code page detection is turned off it is corectly recognized as UTF-8 and status bar says:

Code: Select all

65001 (UTF-8)  *BOM
Also if codepage detection is turned on and I'll reopen the file from the F12 popup menu as UTF-8 it shows the same. If you like I can send you the file but I can reproduce it in all the cases.

Posted: Mon Aug 04, 2008 9:35 pm
by Instructor
*BOM - means that file doesn't have BOM.

Posted: Tue Aug 05, 2008 7:53 am
by pvagner
Hello,
Thanks for the explanation.