Unicode
From: Manfred Nebel (M_Nebel_at_T-Online.de)
Date: 05/21/04
- Next message: Daniel Janczak: "[Oracle, java function] Problem with java function that uses 3rd party GPL library"
- Previous message: Jason Bell: "Re: Java-based RDBMS Report Generator - beta testers needed"
- Next in thread: Poul Møller Hansen: "Re: Unicode"
- Reply: Poul Møller Hansen: "Re: Unicode"
- Reply: Frank: "Re: Unicode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 21 May 2004 14:56:42 +0200
Hi,
till now I was using JAVA to load my database from an txt-file like
BufferedReader in = new BufferedReader(new FileReader("daten.txt"),65535);
...
while ((line = in.readLine()) != null) {
...
while (st.hasMoreTokens()) {
d[token] = (st.nextToken());
...
}}
an stored them with as a string via ODBC-connection like
sqlStat = stat.executeUpdate(sql);
The destination table has VARCHAR2 columns.
Now I receive my txt-files in unicode (utf16). I changed the VARCHAR2 in
NVARCHAR2.
But JAVA dont handle utf16 when i use the String variable.
When I using the filereader it doesn't work.
Is there anybody who can give me a helping hand?
Manfred Nebel
- Next message: Daniel Janczak: "[Oracle, java function] Problem with java function that uses 3rd party GPL library"
- Previous message: Jason Bell: "Re: Java-based RDBMS Report Generator - beta testers needed"
- Next in thread: Poul Møller Hansen: "Re: Unicode"
- Reply: Poul Møller Hansen: "Re: Unicode"
- Reply: Frank: "Re: Unicode"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|