Vietnamese language on System i Access


I have no problem to input Vietnamese charcater in to AS400 client. But when i do data transfer and export to excel file, some characters are not correct (like some characters below should have a "dot" but is not showing).

And i find out there is language setting in the System i Access(see attachment) but no Vietnamese language to select.

Any suggestion?

PHS ITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gary PattersonVP Technology / Senior Consultant Commented:

When you do a data transfer from the IBM i to Excel, the Data Transfer tool inspects the CCSID associated with each column that can contain character data and attempts to convert it.  

If the source column uses CCSID 65535 (means "do not translate"), then you have to manually specify translation parameters so the system knows which translation table to use.

On IBM i, Vietnamese characters can be encoded in Unicode (UTF-8, UCS-2, or UTF-16), or one of several single-byte (SBCS) and double-byte character sets (DBCS).

What CCSID is associated with the problem database column?  You can find this using the DSPFFD command.

Also, Vietnamese language support needs to be enabled in Microsoft Office Tools.

- Gary Patterson
PHS ITAuthor Commented:
Hi Gary,

This file is coded 65535 (please refer to screen1)
However, the Vietnamese user is able to view this Vietnamese in AS400, but after export to excel file some words are wrong. (please refer to screen2)

I have enabled Vietnamese language in Micosoft Office Tools.

What do i need to set on the DTF to excel?

Many thanks.
Gary PattersonVP Technology / Senior Consultant Commented:
The trick to get this to convert properly is to identify the actual CCSID that the text is actually encoded in.  

65535 is just a dummy CCSID that says "don't translate".

Please do a DSPPFM on the problem table, find some of the example rows, and press F10 to display the problem column in hex.  The more "before and after" examples you can post, the better.  Looking at the hex, we can figure out what the CCSID is.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Learn Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

PHS ITAuthor Commented:
Hi Gary,

After we do some testing, now we have no problem with enter and view Vietnamese language in the AS400 client, it's work perfectly.

 Now the only problem is, when we need to export the data (DTF) to ecxcel file. Some character cannot display correctly.

Any suggestion?

Many Thanks
Gary PattersonVP Technology / Senior Consultant Commented:

Isn't that the same problem you originally posted?  

Please see my responses above and supply the requested information and I'll be happy to help you.

- Gary
PHS ITAuthor Commented:
Hi Gary,

Sorry for the late reply, as i'm also asking around from my internal IT. You are right, we need to find out what is the CCSID we should use for Vietnamese language. Finally we find out CCSID for Vietnamese is 1130 and we setup CCSID 1130 into AS400 profile. Now it is working well on viewing or DTF.

Thanks for your help

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.