The problem begins when the charachter encoding in strings is to be interpreted by humans who cannot follow the programming language of computers. The problem might also be dealt with in a converse manner where the data intelligible to humans is to be made comprehensible to machines.
The script for the string converter is included in the header portion of the page, and is very easy to include in any project that might require such conversion. The script is available for a free downlaod from several websites over the internet as a free application.
It could be executed from the command line of the programme.