Paul K
2013-12-25 22:49:22 UTC
Happy holidays to all the readers!
I have a question on BOM handling for files with UTF-8 encoding. I'm using
wxSTC and have an interesting issue with UTF-8 encoded files with BOM (0xEF,0xBB,0xBF).
The files are displayed with BOM characters (as one zero width character)
and when I add any character at position 0, it ends up being *before* the
BOM in the file. I also checked the latest Scite and it works correctly:
BOM is always at the beginning of the file.
Do you do any special processing for files with BOM (for example, remove
BOM after loading and add it back before saving the file) or is it expected
to work with scintilla-based components without any additional steps? I
believe the current version of wxSTC is based on v3.2.1. Thank you.
Paul.
I have a question on BOM handling for files with UTF-8 encoding. I'm using
wxSTC and have an interesting issue with UTF-8 encoded files with BOM (0xEF,0xBB,0xBF).
The files are displayed with BOM characters (as one zero width character)
and when I add any character at position 0, it ends up being *before* the
BOM in the file. I also checked the latest Scite and it works correctly:
BOM is always at the beginning of the file.
Do you do any special processing for files with BOM (for example, remove
BOM after loading and add it back before saving the file) or is it expected
to work with scintilla-based components without any additional steps? I
believe the current version of wxSTC is based on v3.2.1. Thank you.
Paul.
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.