Remembering BOM setting
- Author
- Message
-
Offline
- Posts: 4
- Joined: Thu Feb 21, 2008 12:21 am
- Location: Poland
- Contact:
Remembering BOM setting
It would be great, if AkelPad could also remeber enabled/disabled BOM setting along with charset when saving a file.
-
Offline
- Posts: 57
- Joined: Sun Jul 27, 2008 6:47 am
- Location: slovakia
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.
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.
-
Offline
- Posts: 57
- Joined: Sun Jul 27, 2008 6:47 am
- Location: slovakia
I think it really has BOM.Instructor wrote:pvagner
Make sure that the file 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