AkelPad Forum Index AkelPad
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Remembering BOM setting

 
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English)
View previous topic :: View next topic  
Author Message
Faalagorn



Joined: 21 Feb 2008
Posts: 4
Location: Poland

PostPosted: Sat Feb 23, 2008 11:59 am    Post subject: Remembering BOM setting Reply with quote

It would be great, if AkelPad could also remeber enabled/disabled BOM setting along with charset when saving a file.
Back to top
View user's profile Send private message Visit poster's website
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Sat Feb 23, 2008 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
pvagner



Joined: 27 Jul 2008
Posts: 57
Location: slovakia

PostPosted: Mon Aug 04, 2008 7:33 pm    Post subject: Reply with quote

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
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Mon Aug 04, 2008 7:56 pm    Post subject: Reply with quote

pvagner
Make sure that the file has BOM Smile
Back to top
View user's profile Send private message Send e-mail
pvagner



Joined: 27 Jul 2008
Posts: 57
Location: slovakia

PostPosted: Mon Aug 04, 2008 8:41 pm    Post subject: Reply with quote

Instructor wrote:
pvagner
Make sure that the file has BOM Smile

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:
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.
Back to top
View user's profile Send private message
Instructor
Site Admin


Joined: 06 Jul 2006
Posts: 5524

PostPosted: Mon Aug 04, 2008 9:35 pm    Post subject: Reply with quote

*BOM - means that file doesn't have BOM.
Back to top
View user's profile Send private message Send e-mail
pvagner



Joined: 27 Jul 2008
Posts: 57
Location: slovakia

PostPosted: Tue Aug 05, 2008 7:53 am    Post subject: Reply with quote

Hello,
Thanks for the explanation.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AkelPad Forum Index -> Discussion (English) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


SourceForge.net Logo Powered by phpBB © 2001, 2005 phpBB Group