Link to home
Create AccountLog in
Fonts Typography

Fonts Typography

--

Questions

--

Followers

Top Experts

Avatar of pclarkeirl
pclarkeirl

Chinese characters support
Hi,
I am using RPG/400 and have a standard AS/400 external file with a 40 character description field. A file maintenance program allows the description to be input and displayed. I now need this field to be capable of taking chinese characters. What do I need to change in the DDS to support this ? An example would be great.

regards

Pat Clarke

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


Avatar of Member_2_276102Member_2_276102

Pat:

Two questions first -- What OS/400 version? And do you currently have Chinese character capability on your system?

You might want to do some studying since this can be a serious effort. One place would be the Redbook at:

http://publib-b.boulder.ibm.com/abstracts/sg242154.html?Open

The Redbook title is 'Speak the Right Language with Your AS/400 System'.

There are other resources, but the answers to the two questions will help guide the way.

Tom

ASKER CERTIFIED SOLUTION
Avatar of chetanbabuchetanbabu

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of pclarkeirlpclarkeirl

ASKER

Thanks Chetan & Tom,

just 1 question to Chetan. In your example you have a field FFDESC described as 40A. Can Chinese characters be represented in data type A or does it need to be type O (double byte data type)

regards

Pat  

Hi Pat,

Data type A will work for chinese.....
You need not give type O

Regards,
Chetan

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.


Hi Chetan,
just a followup on the Chinese character question.

I have just tried to compile a physical file with CCSID(935) and I am getting the following error.

CPF32A5 - CCSID 935 for field I1DSC1 not valid - reason code 1

Any idea what would be causing this. The AS/400 O/S version is V4R4M0

What I did to try get around problem was to define the field as type O instead of A and leave out the CCSID(935). This seems to work ok but I'm not sure if there is a down side ???

regards

Pat  
Fonts Typography

Fonts Typography

--

Questions

--

Followers

Top Experts

A font is a particular size, weight and style of a typeface. Each font is a matched set of type, one piece (called a "sort") for each glyph, and a typeface consists of a range of fonts that share an overall design. With the advent of digital typography, font is frequently synonymous with typeface, although the two terms do not necessarily mean the same thing. In particular, the use of "vector" or "outline" fonts means that different sizes of a typeface can be dynamically generated from one design. Each style may still be in a separate "font file" -- for instance, the typeface "Futura" may include the fonts "Futura roman", "Futura italic", "Futura bold" and "Futura extended" —- but the term "font" might be applied either to one of these alone or to the whole typeface.