Questions tagged [cp1252]

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

The windows 1252 codepage is used by the windows operating system to display a number of latin based languages. This character set mimics the ISO 8859-1 (Latin-1) character set, except it varies with the characters in positions in the range of 128-159.

The set of languages represented by CP1252 include English, Spanish, and various Germanic/Scandinavian languages.

125 questions
0
votes
1 answer

mysql to excel - wrong charset output

server: RHEL 5.5, 2.6.18-194.el5, MySQL 5.0.77 client: Win 7 Corporate x86, MS Excel 2010, MySQL ODBC 5.2w Driver On the server, mysql base test, and there is a table rr. Every time insert.sh is launched it truncates test.rr and writes new values to…
Alexander
  • 3,129
  • 2
  • 19
  • 33
0
votes
1 answer

Why is my implementation of Simplified DES working fine under Cp1252 encoding but not under UTF-8?

I asked the following question yesterday but it didn't get much attention due to the fact that I didn't really include any details about my actual problem. Eclipse:Using UTF-8 encoding in the text editor make the Strings not work properly, how can…
ksm001
  • 3,772
  • 10
  • 36
  • 57
0
votes
1 answer

Eclipse:Using UTF-8 encoding in the text editor make the Strings not work properly, how can I fix that?

I have some Greek comments in the code and when I enter a Greek letter it says "Save us UTF-8" Then if I do so and re run the program the previously displayed Strings would not work properly. For example I'm working on an encryption…
ksm001
  • 3,772
  • 10
  • 36
  • 57
-1
votes
1 answer

Convert non UTF-8 ASCII literals in otherwise UTF-8 text to their respective character

I have a UTF8 encoded text that has been mangled and contains some 'cp1252' ASCII literals. I am trying to isolate the literals and convert them one by one, however following code does not work and I can't understand why... text = "This text…
Markus
  • 95
  • 2
  • 11
-2
votes
2 answers

how to convert u'\uf04a' to unicode in python

I am trying to decode u'\uf04a' in python thus I can print it without error warnings. In other words, I need to convert stupid microsoft Windows 1252 characters to actual unicode The source of html containing the unusual errors comes from here…
Frank Wang
  • 1,462
  • 3
  • 17
  • 39
1 2 3
8
9