Highlighted
Absent Member.
Absent Member.
1230 views

Visual COBOL and UTF-8 under Unix

Jump to solution

[Migrated content. Thread originally posted on 02 February 2012]

Hello,

I have a package configured in RM/COBOL to allow the user enter data in utf-8 languages (chinese, russian, etc). Mostly I use an external win dialog to accomplish it.

I am meaning to work with it using Visual COBOL, but I found that, after showing the utf-8 string in a given line, characters printed in the same line but in higher columns are misplaced.

Any suggestion to deal with this?

Thank you.
0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Visual COBOL and UTF-8 under Unix

Jump to solution
Please open up a Supportline incident for this as it is unclear as to what exactly your needs are.
We need to document this in an incident and put in an Enhancement request through normal channels if necessary.

Thanks.

View solution in original post

0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

RE: Visual COBOL and UTF-8 under Unix

Jump to solution
I found a tricky solution, using tput and echo commands via CALL "SYSTEM" and performing this instruction just before using "tput cup" to set screen coordinates:

ACCEPT FP-Z BEFORE TIME 0 OFF NO BEEP
                           LINE ERRLIN COL 1


If there is a more professional solution (this is just a botched job), I am open to any suggestions.
0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Visual COBOL and UTF-8 under Unix

Jump to solution
Unfortunately, this trick doesn't work in all the cases.

In my opinion, would be great a better support for UTF-8 on this system. Are you aware of this?
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

RE: Visual COBOL and UTF-8 under Unix

Jump to solution
Please open up a Supportline incident for this as it is unclear as to what exactly your needs are.
We need to document this in an incident and put in an Enhancement request through normal channels if necessary.

Thanks.

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

RE: Visual COBOL and UTF-8 under Unix

Jump to solution
Ok, thank you
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.