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