I have just got round to trying Notepad++ and am having a problem in auto detecting UTF-8 files with no BOM. Other text editors are detecting the file automatically.
From the release notes it looks like this issue was a problem in previous versions but was fixed in a previous version. Is there still a problem in this area?
Cheers,
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try choosing "Encode in ANSI" as well as "UTF-8 without BOM". Then save the file; it will always open correctly afterwards.
In any case, I just tested: a brand new pure utf-8 document without the bom (created in sc unipad, the only really pure unicode editor worth the name) opened in npp will open as ansi and as UTF-8 without BOM. Maybe there is a setting you're missing, or your file is not really pure utf-8...
Best wishes
Idris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just tested the file I use to check out UTF capabilities <http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt> and found the following:
If the file is saved with no BOM it is opened as ANSI in Notepad++. If I add a BOM it opens correctly. If I remove the BOM (within Notepad++) and re-save it opens as ANSI again.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have just got round to trying Notepad++ and am having a problem in auto detecting UTF-8 files with no BOM. Other text editors are detecting the file automatically.
From the release notes it looks like this issue was a problem in previous versions but was fixed in a previous version. Is there still a problem in this area?
Cheers,
Steve
Hi,
Try choosing "Encode in ANSI" as well as "UTF-8 without BOM". Then save the file; it will always open correctly afterwards.
In any case, I just tested: a brand new pure utf-8 document without the bom (created in sc unipad, the only really pure unicode editor worth the name) opened in npp will open as ansi and as UTF-8 without BOM. Maybe there is a setting you're missing, or your file is not really pure utf-8...
Best wishes
Idris
I just tested the file I use to check out UTF capabilities <http://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt> and found the following:
If the file is saved with no BOM it is opened as ANSI in Notepad++. If I add a BOM it opens correctly. If I remove the BOM (within Notepad++) and re-save it opens as ANSI again.