Feb-10-2020, 10:47 AM
I need to update one system with data from another. The source file uses utf-8 encoding and the destination system requires iso-8859-1 encoding. No problem, I open the files I am reading with utf-8 encoding and the files I am writing to with iso-8859-1 encoding. This worked fine until recently when I started getting unicode errors when writing. The offending string was 'Birleşik Krallık’.
It seems that iso-8859-1 cannot recognise all of the characters that are recognised by utf-8. This cannot be a new issue and I am sure there must be a solution out there. Is there some way I can make my program bulletproof? For example is there a table somewhere that can convert characters that iso-8859-1 cannot recognise into ones they can?
I am new to Unicode so a simple reply would be much appreciated. Many thanks.
It seems that iso-8859-1 cannot recognise all of the characters that are recognised by utf-8. This cannot be a new issue and I am sure there must be a solution out there. Is there some way I can make my program bulletproof? For example is there a table somewhere that can convert characters that iso-8859-1 cannot recognise into ones they can?
I am new to Unicode so a simple reply would be much appreciated. Many thanks.