Top "Cp1252" questions

CP-1252 or Windows-1252 is a character encoding of the Latin alphabet.

Correctly reading text from Windows-1252(cp1252) file in python

so okay, as the title suggests the problem I have is with correctly reading input from a windows-1252 encoded file …

python utf-8 python-unicode windows-1252 cp1252
How to use Special Chars in Java/Eclipse

How can I use/display characters like ♥, ♦, ♣, or ♠ in Java/Eclipse? When I try to use them directly, e.g. …

java eclipse unicode encoding cp1252
Java, Ant error: unmappable character for encoding Cp1252

I am using Java, Eclipse and Ant in my project. I had some Java code that I needed to edit …

java encoding ant utf-8 cp1252
What characters do not directly map from Cp1252 to UTF-8?

I've read in several stackoverflow answers that some characters do not directly map (or are even "unmappable") when converting from …

utf-8 character-encoding utf codepages cp1252
Why does Eclipse use Cp1252 encoding?

Apologies if this is a very amateurish question! I know Eclipse uses Cp1252 as the default for its encoding. I …

java eclipse encoding utf-8 cp1252
Encoding cp-1252 as utf-8?

I am trying to write a Java app that will run on a linux server but that will process files …

java linux utf-8 character-encoding cp1252
Character encoding in Excel spreadsheet (and what Java charset to use to decode it)

I am using the JExcel library to read excel spreadsheets. Each cell on the spreadsheet may contain localization strings in …

java excel character-encoding cp1252
How to convert an UTF String to ANSI and Create an ANSI text file in SSD with JAVA-ANDROID

I wrote a android app in java to get user answers and save them in a file. The problem is …

java android utf-8 cp1252
Encoding cp1252

When I try the following in Java: System.out.println(System.getProperty("file.encoding")); I get cp1252 as the encoding. …

java windows encoding cp1252
Python 3 chokes on CP-1252/ANSI reading

I'm working on a series of parsers where I get a bunch of tracebacks from my unit tests like: File "…

python unicode latin1 cp1252 python-3.x