Community
Participate
Working Groups
i20040519 Saving a file whose contents originally had a UTF-16 Little Endian BOM will always change the BOM to be a UTF-16 Big Endian. 1 - After saving the contents externally (I use Notepad on XP to change the BOM) with Unicode (= UTF-16 Little Endian BOM), force a refresh on the changed file. The properties dialog will show the file has a UTF-16 encoding with a Little Endian BOM. 2 - Open the file with the text editor. The right encoding will be used to read the file contents. 3 - Make some changes in the editor and save. The properties dialog (Notepad as well) will show the file has a UTF-16 encoding with a Big Endian BOM (should still be Little Endian).
*** This bug has been marked as a duplicate of 60636 ***
Never mind, I just realized that when you save a file using UTF-16 that is what happens...