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?
UTF-8 (no BOM) format support?
- Author
- Message
-
Offline
- Posts: 2247
- Joined: Tue Aug 07, 2007 2:03 pm
- Location: Vinnitsa, Ukraine
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.
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.
-
Offline
- Posts: 142
- Joined: Fri Aug 15, 2008 8:58 am
When I exit after save and reload file in AkelPad, file return to Ansi instead of remain UTF.KDJ wrote:topsuccess
Main menu -> File -> Save as -> Codepage,
or press hotkey Ctrl+Shift+S,
choose:
65001 (UTF-8)
and unselect:
BOM
Do it is possible to avoid and mantain it UTF without BOM.
In need it for PHP.