Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Not under consideration
Workspace IBM i
Categories Languages - RPG
Created by Guest
Created on Aug 3, 2018

Better UTF-8 (1208) unicode support (XML, DDS, ...)

Many functions related to Unicode like XML-Into, DDS support, ... only work with CCSID 1200 and not with CCSID 1208 which is a much common data representation in our environments.


Use Case:

Many functions related to Unicode like XML-Into, DDS support, ... only work with CCSID 1200 and not with CCSID 1208 which is a much common data representation in our environments.

Full support for UTF-8 would increase and facilitate our Unicode adoption.


Idea priority High
  • Guest
    Reply
    |
    Nov 6, 2018

    .Thanks for investigating, Paul.

    About DDS, use the A data type with CCSID(1208) to define a UTF-8 field. But note that if you use that file in an RPG program using record-level access, by default, the data will be converted to the job CCSID when you read a record. To avoid this, code DATA(*NOCVT) on the File definition, or code OPENOPT(*NOCVTDATA) in your H spec.

  • Guest
    Reply
    |
    Nov 5, 2018

    As for XML-Into I did some tests again and...

    **FREE

    Dcl-DS myDS Qualified;
    Name Char(255) CCSID(*UTF8);
    End-DS;

    XML-Into myDS %XML('/home/mydir/unicode.xml': 'doc=file case=any ccsid=1208 path=person');

    *INLR = *On;
    Return;

    ... with an IFS file in CCSID 1208 did work fine now. I could not immediatly find other issues I had in the past but I might be missing some details (do remmber that it also had something to do with switching from UTF-8 to UTF-16 for printing Chinese lables).

    Sorry I don't have immediate examples on this anymore.

  • Guest
    Reply
    |
    Nov 5, 2018

    DDS currently only support CCSID 1200/13488.

  • Guest
    Reply
    |
    Oct 26, 2018

    IBM has previously requested more clarifying information. Because the additional information was not provided within 30 days, the request has been closed.

  • Guest
    Reply
    |
    Aug 7, 2018

    .Please give more information about the lack of UTF-8 support in DDS.

    Please also give more information about the lack of UTF-8 support for XML-INTO. It's true that you can't specify option "ccsid=utf8", but you can have UTF-8 subfields in your data structure.

  • Guest
    Reply
    |
    Aug 7, 2018

    Please give more information about the lack of UTF-8 support in DDS.