| From: | "Lars Stenberg" <lars(dot)stenberg(at)psycat(dot)net> |
|---|---|
| To: | <pgsql-jdbc(at)postgresql(dot)org> |
| Subject: | Encoding problems |
| Date: | 2003-02-02 20:09:19 |
| Message-ID: | 003f01c2caf6$f870c1e0$0301a8c0@ic3 |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Hi!
A couple of days ago i had som serius problems with an database, the decodeUTF8() method in the org.postgresql.core.Encoding crashed (java.lang.ArrayIndexOutOfBoundsException: 12, at org.postgresql.core.Encoding.decodeUTF8(Encoding.java:254)).
After some searches in the archives i found that i should create my database with another encoding (im using scandinavian chars). So i tried with Latin1, but it didnt work.
The database is now in Unicode and i patched the Encoding.java to bypass the decodeUTF8 and just convert it to ISO-8859-1, it works but i still wants to know what the problem was, so i anyone could tell me what im done wrong i´ll be happy.
Cheers
Lars Stenberg
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nic Ferrier | 2003-02-02 21:23:35 | Re: Coding style |
| Previous Message | Lars Stenberg | 2003-02-02 20:01:20 | Coding style |