Question
When encoding specific characters with "Windows-31J" and "Shift-JIS", the characters are garbled and "?" is output.
Is there any workaround for this?
Characters
-, ~, ∥, -, ¢, £, ¬
Answer
The cause might be the character encoding mismatch between "Windows-31J (MS932)" and "Shift-JIS".
As workarounds, you might avoid the garble by matching the character encoding between input and output, or using [Convert CP932 to SJIS] or [Convert SJIS to CP932].
-Specification
The [Convert CP932 to SJIS] and [Convert SJIS to CP932] address the problem of outputting garbled characters when encoding the specific characters between "Windows-31J" and "Shift-JIS".
By placing them between a Read icon and a Write icon, you can avoid being garbled for the following supported characters.
Supported characters
-, ~, ∥, -, ¢, £, ¬
-Procedure
1. Place the icons in the following order
Read icon - [Convert SJIS to CP932] - Write icon
Location: Designer→Tool palette→Conversion→Character→Convert CP932 to SJIS
2. Specify the Read icon as the input data for [Convert SJIS to CP932]
3. Specify [Convert SJIS to CP932] as the input data for the Write icon
For details of [Convert CP932 to SJIS] and [Convert SJIS to CP932], please refer to the following References.
-References
[Convert CP932 to SJIS]
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Connector/char_convert_Cp932_to_SJIS.htm
[Convert SJIS to CP932]
https://www.hulft.com/help/en-us/HULFTSquare/Content/Designer/Connector/char_convert_SJIS_to_Cp932.htm
Comments
0 comments
Article is closed for comments.