• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 661
  • Last Modified:

Vietnamese language on System i Access

Hello,

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?

Thanks
Wayne
System-i-Access.jpg
0
IT-PHS
Asked:
IT-PHS
  • 3
  • 3
1 Solution
 
Gary PattersonVP Technology / Senior Consultant Commented:
Wayne,

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
0
 
IT-PHSAuthor 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.
Wayne
Screen1.png
Screen2.png
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Wayne,
 
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.
0
Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

 
IT-PHSAuthor 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
Wayne
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
Wayne,

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
0
 
IT-PHSAuthor 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

Wayne
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now