| View previous topic :: View next topic |
| Author |
Message |
Faalagorn
Joined: 21 Feb 2008 Posts: 4 Location: Poland
|
Posted: Sat Feb 23, 2008 11:59 am Post subject: Remembering BOM setting |
|
|
| It would be great, if AkelPad could also remeber enabled/disabled BOM setting along with charset when saving a file. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Sat Feb 23, 2008 1:28 pm Post subject: |
|
|
From AkelPad 3.0.9 changelog:
| Quote: | | Changed: now recent files code page information doesn't contain BOM, which always again detected during file opening. | For what you need this? |
|
| Back to top |
|
 |
pvagner
Joined: 27 Jul 2008 Posts: 57 Location: slovakia
|
Posted: Mon Aug 04, 2008 7:33 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Mon Aug 04, 2008 7:56 pm Post subject: |
|
|
pvagner
Make sure that the file has BOM  |
|
| Back to top |
|
 |
pvagner
Joined: 27 Jul 2008 Posts: 57 Location: slovakia
|
Posted: Mon Aug 04, 2008 8:41 pm Post subject: |
|
|
| 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: 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. |
|
| Back to top |
|
 |
Instructor Site Admin
Joined: 06 Jul 2006 Posts: 4646
|
Posted: Mon Aug 04, 2008 9:35 pm Post subject: |
|
|
| *BOM - means that file doesn't have BOM. |
|
| Back to top |
|
 |
pvagner
Joined: 27 Jul 2008 Posts: 57 Location: slovakia
|
Posted: Tue Aug 05, 2008 7:53 am Post subject: |
|
|
Hello,
Thanks for the explanation. |
|
| Back to top |
|
 |
|