Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: CP1252


Related Topics
XML
ISO

In the News (Thu 24 Dec 09)

  
  CP1252 / ISO-8859-1 / UTF-8 Conversion Chart   (Site not responding. Last check: 2007-11-01)
The cases where the Unicode character for a given CP1252 "character" is 0xfffd means that CP1252 doesn't actually define a character for that particular byte value.
CP1252 is the standard Windows Western European character set.
I didn't realize how prevalent CP1252 really is, and that a lot of places that I thought were using ISO-8859-1 were really using CP1252 instead; this works because CP1252 is a strict supserset of ISO 8859-1.
www.io.com /~jdawson/cp1252.html   (424 words)

  
 Bug ID: 4369481 file.encoding CP1252 improperly displays \u00b2 on Windows
java thinks that the underlying encoding is Cp1252 and encodes 00b2 (which is superscript 2) in it, outputting a byte whose value is 0xb2.
It could be argued that it is not Java should not be held responsible for the fact that Windows uses one character encoding for GUI apps and another for console apps.
Also note that in NT-based Windows, it is possible to configure the command prompt to use Cp1252, with a combination of the command andquot;chcp 1252andquot; and using a TrueType font for the window.
bugs.sun.com /bugdatabase/view_bug.do?bug_id=4369481   (492 words)

  
 Automatic ANSI<>Unicode message translation
This was tested on a Win2k system with a default of CP1252 (Western Europe) and a WinXP system with a default ACP of CP950 (Chinese Traditional).
The table used for the conversion differs from the real CP1252 table in that characters 81, 8D, 8F, 90 and 9D, which are unassigned in CP1252, are converted to and from the Unicode characters with the same value (+).
Note that 0x88, which is a lead byte in CP892, is one of the characters that maps outside the Latin1 page in Unicode (CP1252 0x88 is Unicode 0x02C6), which makes double-byte characters beginning with that code ideal for these tests.
www.winehq.com /pipermail/wine-devel/2005-August/039143.html   (777 words)

  
 jGuru: Stopping after fatal error: The encoding "Cp1252" is not supported.
Stopping after fatal error: The encoding "Cp1252" is not supported.
Re: Stopping after fatal error: The encoding "Cp1252" is not supported.
So many java applications tend to generate output files with such Java names, even though they are not able to handle them back properly because, as any other XML application, they expect the IANA names in the input files.
www.jguru.com /forums/view.jsp?EID=745881   (734 words)

  
 [freetds] freebcp and I18N
In converting my varchar to nvarchar, the server converted its native CP1252 to UCS-2; it of course had to provide the appropriate USC-2 values for characters in that 0x80-0x9F range.
Example: The 129th byte of my varchar string was 0x80, undefined in Latin1 but used in CP1252 for the Euro sign.
In UCS-2, the Euro sign is 0x20AC, the very value, sure enough, that the server chose for the 129th position of my nvarchar target column.
lists.ibiblio.org /pipermail/freetds/2003q1/012215.html   (404 words)

  
 [#LPP-1055] SOAP messages are always encoded in Cp1252 - OpenLaszlo
If you were logged in you would be able to see more operations.
This is a major problem for the SOAP implementation because it means that it cannot support international character sets preventing SOAPers from enjoying the unicode feaures available elsewhere.
I can confirm from my own tests that this fix seems to work, and characters that were not being displayed correctly in lps-3.1 now display correctly with this patch.
www.openlaszlo.org /jira/browse/LPP-1055   (375 words)

  
 Full Sail Vol.2 No.4 Computers With Character(s)
I get to see all of the Windows cp1252 characters that lynx supports and also can see them properly when viewing email or news-postings in which people have used such characters.
The tactic to use here, to be able to select a Windows font with an application that insists on an OEM font (such as HyperTerminal or Terminal), is to pick a suitable Windows bitmapped font and edit the headers to redefine it as an OEM font and save it with a new name.
While you are at it, you can also update those characters in the font that don't meet the new cp1252 standard and change the undefined box characters to something that can be distinguished from each other.
beacon.chebucto.info /Back/A9908/power7.htm   (2269 words)

  
 iAnywhere.com - Technotes - International Deployment Resources - Technotes - Interactive SQL (DBISQL), character set ...
When English software is installed on a non-English system and the international deployment resources are being used (database server and DBISQL are running in a non-English language), DBISQL will corrupt characters in messages that come from the database server.
Typically, this occurs because the asademo.db uses the collation 1252LATIN1, which is based upon cp1252.
On systems that don't use cp1252, the server will try to translate its error messages from its character set to cp1252.
www.ianywhere.com /developer/technotes/international_deployment.html   (430 words)

  
 Trouble saving unicode text to file - Python
My bet is that 'cp1252' is more likely to be appropriate for the OP than 'iso-8859-1'.
which is 0x80 in cp1252, it wouldn't show up as a problem in the
cp1252 but not in iso-8859-1, then attempting to convert to iso-8859-1
www.thescripts.com /forum/thread44647.html   (1299 words)

  
 Euro Support   (Site not responding. Last check: 2007-11-01)
Starting with JDK 1.1.7, the default encoding for Western European Locales under Microsoft Windows has been changed to Cp1252.
Cp1252 does not implement a reversible byte/character translation.
It may appear to some programmers that this introduces an incompatibility.
www.eskimo.com /support/java/docs/guide/intl/euro.html   (390 words)

  
 MySQL Lists: java: Re: problem with CP1252 (Windows Latin1 chars)
However, MySQL doesn't have a Cp1252 code page, so sorting and searching will work oddly, and I've got an inquiry into our character/internationalization person to see what can be done about that.
Re: problem with CP1252 (Windows Latin1 chars) - Mark Matthews, March 6 2003 8:01pm
Re: problem with CP1252 (Windows Latin1 chars) - David Karlton, March 6 2003 10:31pm
lists.mysql.com /java/5143   (483 words)

  
 Using the Euro Symbol (€) in a Western European AR System Environment
The Hexadecimal code for the Euro symbol (€) is 80 in the CP1252 encoding, as noted in the following table CP1252.
You’ll notice that the CP1252 table has 2 more rows than the ISO 8859-1 table to account for additional characters, including the Euro.
If you try to save a unique character from the CP1252 into an Oracle instance using ISO 8859-1 encoding, it will be stored as character with Hexadecimal code “bf,” which is represented by the character “¿“, because its encoding value does not exist in the ISO 8859-1 table.
www.remedy.com /customers/dht/archive/05-12-2003.htm   (755 words)

  
 [No title]
This example also has some commented-out logic that shows how you can determine whether two charsets are equal or not.
It turns out that "windows-1252" and "Cp1252" are in fact names for a single charset.
The logic is commented out because there is no requirement that the Cp1252 charset be supported, and so the logic here might not be meaningful to you.
java.sun.com /developer/TechTips/txtarchive/2003/Jan03_GlenM.txt   (1855 words)

  
 Effective XML: 50 Specific Ways to Improve Your XML - WebReference.com-
There are a lot of documents in the world that are labeled as ISO-8859-1 but actually use the nonstandard Microsoft Cp1252 character set instead.
Documents that correctly identify themselves as Cp1252 are still allowed.
The downside to this improvement is that there is now a class of XML documents that is well-formed XML 1.0 but not well-formed XML 1.1.
www.webreference.com /programming/xml/3.html   (711 words)

  
 Avoiding String Problems With LONG or CLOB Strings that contains extended ACII characters
Java's default character set for Windows is "Cp1252", which usually translates extended ASCII characters fine (i.e., ASCII characters whose decimal value is over 127).
As an aside, lots of people write HTML on the Windows platform, but the web servers are running some version of UNIX/LINUX, so the character set issue still applies.
I dunno whether this is an oracle JDBC bug or a Java bug, but this handles the problem.
www.logicamente.com /clobstrings.html   (220 words)

  
 nntp.perl.org - perl.libwww (6618)   (Site not responding. Last check: 2007-11-01)
If you use Encode to convert from CP1252 to UTF-8.
At least I found that, in my tests, it worked properly: use Encode; $utf8_text = decode('cp1252', $cp1252)_text, 1); I was originally going to add support for converting from the CP1252 gremlins to UTF-8, but when I found that Encode already did it properly, I eliminated it.
My module is only for those who require Latin 1 support, in which there is no support for those extra characters.
www.nntp.perl.org /group/perl.libwww/6618   (213 words)

  
 dBforums - View Single Post - How to read cp1252 from cp850 SQL Server 7 in a SELECT statement
Thread: How to read cp1252 from cp850 SQL Server 7 in a SELECT statement
RE: How to read cp1252 from cp850 SQL Server 7 in a SELECT statement
Subject: How to read cp1252 from cp850 SQL Server 7 in a SELECT statement
dbforums.com /showpost.php?p=1916685&postcount=2   (179 words)

  
 How to read cp1252 from cp850 SQL Server 7 in a SELECT statement - dBforums
How to read cp1252 from cp850 SQL Server 7 in a SELECT statement - dBforums
If you would prefer not to see any double-underlined words and corresponding advertisements, please click here.
How to read cp1252 from cp850 SQL Server 7 in a SELECT statement
www.dbforums.com /showthread.php?t=528774   (380 words)

  
 Mapping Windows CP1252 Gremlins to Unicode ::: www.effbot.org
Some applications add CP1252 (Windows, Western Europe) characters to documents marked up as ISO 8859-1 (Latin 1) or other encodings.
These characters are not valid ISO-8859-1 characters, and may cause all sorts of problems in processing and display applications.
To convert the resulting string to a suitable target encoding, see Python Unicode Objects.
effbot.org /zone/unicode-gremlins.htm   (76 words)

  
 codejedi.com - Home of Shadow Plan for Palm OS
Encoding supports are currently: ISO-8859-1, UTF-8, and CP1252.
The CP1252 is actually Palm's varient of CP1252 which is identical except for a couple of pass-thru characters which don't display on the handheld.
Default values are assumed if the fields are not included; as such, you can write very stripped XML and the desktop will likely interpret it anyway.
www.codejedi.com /shadowplan/shadow-developer/xmlspec1.html   (903 words)

  
 How to get the client (browser form encoding) at the server
But this actualy returns the file.encoding property of the server (The system property file.encoding property using with weblogic is running).
Also at the server side to get the actual bytes submitted back, I have to use the Cp1252 or ISO_8859_1 encoding.
bytes[] b = sName.getBytes("Cp1252"); (Why Cp1252, eventhough the file.encoding is different and client encoding is different ?).
www.theserverside.com /discussions/thread.tss?thread_id=1882   (561 words)

  
 unicode-gremlins ::: www.effbot.org   (Site not responding. Last check: 2007-11-01)
When done, fill in the name and address fields (optional) and click 'submit patch' to mail the patch to me. (I reserve the right to decide which patches to include, of course.) Thanks!
Fredrik Lundh

Some applications add CP1252 (Windows, Western Europe) characters to documents marked up as ISO 8859-1 (Latin 1) or other encodings.

These characters are not valid ISO-8859-1 characters, and may cause all sorts of problems in processing and display applications.

The following code fragment shows how you can map CP1252-specific characters to their Unicode counterparts.

effbot.org /zone/useredit.cgi?name=unicode-gremlins   (209 words)

  
 Tablet PC Questions - How to test foreign character encodings?
Would an applet on a real Turkish computer also report Cp1252 or some
Is there a better way to simulate a foreign keyboard in
But Java still assigns a default encoding of Cp1252 so I will take this up
www.tabletquestions.com /showthread.php?t=4683   (1647 words)

  
 International Deployment Resources - Interactive SQL (DBISQL), character set problem - Sybase Inc
DBISQL will corrupt characters in messages that come from the database server.
The problem occurs on systems not using either cp1252 (English and Western European languages)
Build a database using the default collation settings, which will choose a collation with the proper character set
login.sybase.com /detail?id=1011254   (421 words)

  
 nntp.perl.org - perl.libwww (6591)   (Site not responding. Last check: 2007-11-01)
If you use Encode to convert from CP1252 to
At least I found that, in my tests, it worked properly:
> I was originally going to add support for converting from the CP1252
www.nntp.perl.org /group/perl.libwww/6591   (176 words)

  
 Java Technology Forums - User Profile: gsash
Re: how can I convert a file encoded Cp1252 to text file
how can I convert a file encoded Cp1252 to text file.
Is it possible to send a java object ?
forum.java.sun.com /profile.jspa?userID=1559   (61 words)

  
 XML.com: Controlling the DOCTYPE and XML Declaration
Use the xsl:output element's encoding attribute to set the output encoding.
What kind of program uses cp1252 as a default output encoding?
In other words, what program are you using to create the original XML file?
www.xml.com /pub/a/2002/09/04/xslt.html?page=last   (1257 words)

  
 [ python-Bugs-706595 ] codecs.open and iterators | Python | Bugs
I came across this when using the pythonzh Chinese
uses the cp1252 encoding to illustrate the problem
Is this definitely a bug, or is it an undocumented 'feature'
www.gossamer-threads.com /lists/python/bugs/377811   (444 words)

  
 Python and Unicode
You can find out what these encodings are by looking at
In IDLE on Windows, the input and output encodings are both Cp1252, a superset of Latin-1:
>>> import sys >>> sys.stdin.encoding 'cp1252' >>> sys.stdout.encoding 'cp1252'
personalpages.tds.net /~kent37/blog/stories/14.html   (634 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.