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 

UTF-8 (no BOM) format support?

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



Joined: 14 Apr 2012
Posts: 9

PostPosted: Sat Apr 14, 2012 4:02 pm    Post subject: UTF-8 (no BOM) format support? Reply with quote

I'm using AkelPad to edit lua script for "LOVE2D" game engine, this engine recognize unicode string in UTF-8 (no BOM) format only, but AkelPad only saved as UTF-8 with BOM format. So my script encounted errors.

Could AkelPad support UTF-8 (no BOM) format?
Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2034
Location: Vinnitsa, Ukraine

PostPosted: Sat Apr 14, 2012 4:16 pm    Post subject: Reply with quote

topsuccess, AkelPad DOES SUPPORT UTF8 W/O BOM. Search carefully, or read manuals.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
KDJ



Joined: 06 Mar 2010
Posts: 1326
Location: Poland

PostPosted: Sat Apr 14, 2012 4:28 pm    Post subject: Reply with quote

topsuccess
Main menu -> File -> Save as -> Codepage,
or press hotkey Ctrl+Shift+S,
choose:
65001 (UTF-8)
and unselect:
BOM
Back to top
View user's profile Send private message
topsuccess



Joined: 14 Apr 2012
Posts: 9

PostPosted: Sun Apr 15, 2012 1:54 am    Post subject: Reply with quote

I'm sorry, I did not notice this option.
Thank you very much, FeyFre and KDJ.
Back to top
View user's profile Send private message
ZoNi



Joined: 24 Apr 2012
Posts: 4

PostPosted: Tue Apr 24, 2012 9:43 pm    Post subject: Reply with quote

What should I do? In Notepad text is ok, in AkelPad very often it is not - like here:

Back to top
View user's profile Send private message
FeyFre



Joined: 07 Aug 2007
Posts: 2034
Location: Vinnitsa, Ukraine

PostPosted: Tue Apr 24, 2012 10:52 pm    Post subject: Reply with quote

ZoNi, try to Redetect codepage or set manually. Press F12 while in Akelpad - in poped menu click "Redetect" for automatic redetection. Or on the same menu select submenu "Open As" and select desired(guessed) codepage.
If no other codepage conforms you - that means you really have such content in text file and automatic detection was successful.
If you have managed to find right codepage and such problem persists for other files, then you probably forgot to configure autodetection: goto Options - Settings - Genetal tab - Codepage recognition. You also can play with codepage filter.


Last edited by FeyFre on Wed Apr 25, 2012 6:04 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
ZoNi



Joined: 24 Apr 2012
Posts: 4

PostPosted: Wed Apr 25, 2012 4:52 pm    Post subject: Reply with quote

FeyFre wrote:
ZoNi, try to Redetect codepage or set manually. Press 12 while in Akelpad - in poped menu click "Redetect" for automatic redetection.

This helped! Thank you... Just for others, that may help about this: 12 = F12 Wink
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