I have some vb6 code that is stubbornly writing to Windows-1252.
Open fileName For Binary Access Write As #fileNo
Put #fileNo, , contents
Close #fileNo
I managed to make it write to UTF-16 (LE) by doing this;
contents = ChrW$(&HFEFF&) & contents
Is there any way I could easily make it write to ISO-8859-1? Examples/suggestions would be greatly appreciated here.
If your files are not huge then ADO can come to the rescue for quick and dirty handling of odd encodings.
Example: