Skip to main content

[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.

[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.
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.

[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.
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?

[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.
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.

[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.
Ok, thank you