IndoTech
2nd December 2022, 06:57
Hi All,

While converting the Item text with Chinese characters using

export.conv = mb.export$(export.string, string.to.convert) getting erros as

Error:(GB2312) Error in TssConvertTssToNative: Incorrectly terminated sequence: 9B00 (TSS)

can anyone help to know what this error mean and how it can be solved.

Regards
Kedar

andreas.toepper
2nd December 2022, 07:57
It may be something like a "cut off" string. Let's say string.to.convert is not declared as multi byte and is truncated like string.to.convert(1;25).
Then there may be start a TSS coded character on position 24. This Character will need 3 Bytes to be coded. If the string is now cut off in the middle of the character-coding, you’re getting such an error (I think).

Maybe it will work if you declare export.string as a non-multibyte string and string.to.convert as a multi byte string.

IndoTech
2nd December 2022, 11:32
Hi Anders

Thanks for the reply, but still the same error occurs and one finding
as, when same line text I try to open from the session there also same error occurs.

Regards
Kedar

fsabbagh
5th January 2023, 20:39
Hi, did you have any breakthrough on your challenge?

andreas.toepper
10th January 2023, 08:16
when same line text I try to open from the session there also same error occurs.
I think the text itself is being corrupted. You may need to disconnect the text from its data set and create a new one.