[Geany] Incorrect BOM for UTF-8 files
Andreas Tscharner
andy at xxxxx
Tue Jan 23 15:46:09 UTC 2007
Enrico Tröger wrote:
> Er, here it works as expected.
> - open a file
> - set the encoding to UTF-8
> - set to write a BOM (document menu->Write Unicode BOM)
> - type some text
> - save the file
> If I open the saved file with a hexeditor, it starts with EF BB BF.
> Which version of Geany, GLib and iconv you are using? Are you
> perhaps using another platform than x86?
Uuups
My bad.
For my defense: I previously used UltraEdit (in Hex-View) to watch the
file and it says: FF FE
When I change the editor (example: HexEdit) it shows (on the very same
file) the correct EF BB BF pattern.
Sorry for bothering.
Best regards
Andreas
--
("`-''-/").___..--''"`-._
`o_ o ) `-. ( ).`-.__.`)
(_Y_.)' ._ ) `._ `. ``-..-'
_..`--'_..-_/ /--'_.' .'
(il).-'' (li).' ((!.-'
Andreas Tscharner andy at vis.ethz.ch
http://www.vis.ethz.ch/~andy ICQ-No. 14356454
More information about the Users
mailing list