Search found 5 matches

by lucius
Fri Feb 11, 2022 11:08 am
Forum: HSSFR4
Topic: chinese language and poi36
Replies: 8
Views: 98821

Re: chinese language and poi36

ciao Scott
I'm back again....

I have the same problem of chinese chars in WRITING out an excel spreadsheet...

I have a file in AS400 with the correct chinese chars.. I can see them in a subfile or sql select

But when I create the xlsx they become strange chars... not for sure chinese chars!

Do ...
by lucius
Mon Dec 27, 2021 9:13 am
Forum: HSSFR4
Topic: chinese language and poi36
Replies: 8
Views: 98821

Re: chinese language and poi36

Thank you Scott
we are not far from the right result!

Now I got some chinese char but it seems that there is a sort of "translation" between standard chinese char and traditional chinese char.
At this point maybe is the excel file which has been created with a different chinese char set ...
by lucius
Thu Dec 23, 2021 10:16 am
Forum: HSSFR4
Topic: chinese language and poi36
Replies: 8
Views: 98821

Re: chinese language and poi36

Thank you Scott

I also changed the CCSID of the job to
Coded character set identifier . . . . . . . . . : 937
Default coded character set identifier . . . . . : 937
but it does not work
I still get the ?

In you opinion it is not related the way Java reads the data but to the different ...
by lucius
Thu Dec 23, 2021 7:45 am
Forum: HSSFR4
Topic: chinese language and poi36
Replies: 8
Views: 98821

Re: chinese language and poi36

here:

D String_getBytes...
D pr 1024A varying
D extproc(*JAVA:
D 'java.lang.String':
D 'getBytes')



cell = SSRow_GetCell(row: 9);
projdescr = String_getBytes(SSCell_getStringCellValue(cell));

from the PF definition:
A PROJDESCR 60O CCSID(937)


from the job:
Language identifier ...
by lucius
Wed Dec 22, 2021 8:44 am
Forum: HSSFR4
Topic: chinese language and poi36
Replies: 8
Views: 98821

chinese language and poi36

Hi Scott
I have to import an excel spreadsheet with some chinese text

I have an Iseries with a chinese partition (double byte) where I normally handle chinese characters

for the first time I should import in my DB an excel with some chinese text.

The latin characters are ok, but the chinese text ...