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

From: Alexander Huemer <alexander.huemer_AT_xx.vu>
Date: Wed, 4 Dec 2013 18:07:08 +0100

On Tue, Dec 03, 2013 at 12:56:08PM +0100, patrick295767 patrick295767 wrote:
> 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').
> http://dmr.ath.cx/misc/cp437/
>
>
>
> Would you know a technique to have a way that your application looks
> the same on whatever system (Linux, Mac, OS/2, Windows,..)?

Somehow related, and quite new:
http://mortoray.com/2013/11/27/the-string-type-is-broken/

Kind regards,
-Alex
Received on Wed Dec 04 2013 - 18:07:08 CET

This archive was generated by hypermail 2.3.0 : Wed Dec 04 2013 - 18:12:06 CET