[dev] Bringing together OS'es terminals and their codepages

From: patrick295767 patrick295767 <patrick295767_AT_gmail.com>
Date: Tue, 3 Dec 2013 12:56:08 +0100


If you are developing C/C++ programs in a terminal environment, you
may know the problem of the codepages. Sometimes in Putty, SSH,... you
may have some problems with characters.

What about this "Portability" of your terminal applications? - Not
great, isn't it?

If you would like to have your code portable and also looking the same
on each operating system, it will not be so easy.

For instance, Latin,... codes are necessary depending on the country.
One which is cool is the CP437. I like the CP437 on Linux for xterm
for nice terminal images, but the problem is that users have not
necessarily all installed. CP437 remains also portable with windows
PDcurses dll (I mean the pdc34dll.zip one, without 'w').

Would you know a technique to have a way that your application looks
the same on whatever system (Linux, Mac, OS/2, Windows,..)?

Best wishes & Regards,
Received on Tue Dec 03 2013 - 12:56:08 CET

This archive was generated by hypermail 2.3.0 : Tue Dec 03 2013 - 13:00:30 CET