Google Answers Logo
View Question
 
Q: Enabling CP1252 on Debian Linux ( No Answer,   0 Comments )
Question  
Subject: Enabling CP1252 on Debian Linux
Category: Computers > Operating Systems
Asked by: rob1026-ga
List Price: $20.00
Posted: 09 May 2005 10:32 PDT
Expires: 08 Jun 2005 10:32 PDT
Question ID: 519550
I would like step-by-step instructions on how to enable codepage
CP1252 on my Debian Linux webserver.

This codepage comes from Microsoft/Windows. It contains extra
characters such as trademark (?) 0x99 and elipses (?) 0x85 which
iso-8859-1 does not have.

I currently have the iso-8859-1 codepage enabled, which is a subset of
CP1252. To enable iso-8859-1, I set my environment variable LANG=en_US
(it was LANG=POSIX). This box has a directory named
/usr/lib/locale/en_US with a few files in it.

When I run 'locale -m' on my server, CP1252 is one of the many choices.

I have a small test program that prints to the console the string
"1â2è3ü4?5?6", but what gets displayed is 1â2è3ü4?5?6. Note that the
iso-8859-1 chars are fine but the CP1252 chars show up as question
marks.

A good discussion of codepages is found at:
http://czyborra.com/charsets/codepages.html
http://www.bbsinc.com/iso8859.html

I have only basic knowledge of Linux.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy