...or how to survive in the encoding jungle, with some helpful tools.
I have several times stumble into encoding issues between legacy applications and modern "Unicode" capable ones.
In the following I will try to explain the basics in a simple way - and also supply the source and binary (if there are anyone out there that needs the utility - but don't need a compiler) for a small utility that takes a file containing Unicode characters and encodes it into a given code page. I was a bit surprised that I wasn't able to find such a utility at that time - so I did one to solve the problem.