Re: utf8 encoding problem



On 2006-12-22 10:11:57 +0100, Michael Kröll wrote:
Peter J. Holzer wrote:
$node_name = 'wre'; my $pound = " \xc2\xa3"; print "Pound =>$pound\n";
That doesn't look like a pound sign in WE8DEC. You need to set NLS_LANG
to the charset that you actually use, i.e., AMERICAN_AMERICA.UTF8 in
your case.

Or "AMERICAN_AMERICA.AL32UTF8" - See
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96529/ch5.htm#1004607

Yes. AL32UTF8 is better (unless you're still running Oracle 8). Don't
know why I wrote UTF8.

hp

--
_ | Peter J. Holzer | If I wanted to be "academically correct",
|_|_) | Sysadmin WSR | I'd be programming in Java.
| | | hjp@xxxxxxxxx | I don't, and I'm not.
__/ | http://www.hjp.at/ | -- Jesse Erlbaum on dbi-users

Attachment: pgpy880mn7ZZY.pgp
Description: PGP signature



Relevant Pages

  • JPasswordField, charset and char[] to byte[]
    ... What charset does the given back charuse? ... If I use the following algrorithm, does Java give me the same byteArray on every platform? ...
    (comp.lang.java.programmer)
  • Re: platform default charset
    ... > the getBytes() method was just a sample to explain what charset I was ... I want to change the default charset for encoding strings in ... Looking for Java or PB snippets? ...
    (comp.lang.java.programmer)
  • Re: (Java-)Charset
    ... If you want to internally use another charset, you can't and you don't need to. ... All chars/String in Java are internally handled as Unicode ...
    (comp.lang.java.programmer)
  • Re: Java Currency Symbol und Linux
    ... ~/source$ java HelloWorld ... Seh nur ein Fragezeichen, an dieser Stelle siehst du ein $? ... da es unterhalb der Magischen 128 Bit-Grenze liegt. ... Fragezeichen siehst lass die mal das Charset von Java ausgeben und ...
    (de.comp.lang.java)
  • Re: hz-gb-2312 solution
    ... Homer wrote: ... is not recognized by SUN's JVM. ... The international version of Java 1.4.2 supports a charset called EUC_CN, described as "GB2312, EUC encoding, Simplified Chinese". ...
    (comp.lang.java.programmer)