Solved

Vietnamese language on System i Access

Posted on 2013-12-09
6
578 Views
Last Modified: 2014-02-20
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
Comment
Question by:IT-PHS
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39708916
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
 

Author Comment

by:IT-PHS
ID: 39713489
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
 
LVL 35

Accepted Solution

by:
Gary Patterson earned 500 total points
ID: 39714566
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:IT-PHS
ID: 39731143
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
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39731210
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
 

Author Comment

by:IT-PHS
ID: 39876034
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are looking at this article, you have most likely been hit by some version of ransomware and are trying to find out if there is anything you can do, or what way you should react - READ ON!
The Nano Server Image Builder helps you create a custom Nano Server image and bootable USB media with the aid of a graphical interface. Based on the inputs you provide, it generates images for deployment and creates reusable PowerShell scripts that …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question