| View previous topic :: View next topic |
| Author |
Message |
topsuccess
Joined: 14 Apr 2012 Posts: 2
|
Posted: Sat Apr 14, 2012 4:02 pm Post subject: UTF-8 (no BOM) format support? |
|
|
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 |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1892 Location: Vinnitsa, Ukraine
|
Posted: Sat Apr 14, 2012 4:16 pm Post subject: |
|
|
| topsuccess, AkelPad DOES SUPPORT UTF8 W/O BOM. Search carefully, or read manuals. |
|
| Back to top |
|
 |
KDJ
Joined: 06 Mar 2010 Posts: 1067 Location: Poland
|
Posted: Sat Apr 14, 2012 4:28 pm Post subject: |
|
|
topsuccess
Main menu -> File -> Save as -> Codepage,
or press hotkey Ctrl+Shift+S,
choose:
65001 (UTF-8)
and unselect:
BOM |
|
| Back to top |
|
 |
topsuccess
Joined: 14 Apr 2012 Posts: 2
|
Posted: Sun Apr 15, 2012 1:54 am Post subject: |
|
|
I'm sorry, I did not notice this option.
Thank you very much, FeyFre and KDJ. |
|
| Back to top |
|
 |
ZoNi
Joined: 24 Apr 2012 Posts: 2
|
Posted: Tue Apr 24, 2012 9:43 pm Post subject: |
|
|
What should I do? In Notepad text is ok, in AkelPad very often it is not - like here:
 |
|
| Back to top |
|
 |
FeyFre
Joined: 07 Aug 2007 Posts: 1892 Location: Vinnitsa, Ukraine
|
Posted: Tue Apr 24, 2012 10:52 pm Post subject: |
|
|
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 |
|
 |
ZoNi
Joined: 24 Apr 2012 Posts: 2
|
Posted: Wed Apr 25, 2012 4:52 pm Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
|