Question
I sent a file from HULFT Square to HULFT for Linux, and when I checked the file on the HULFT side, some multi-byte characters were garbled.
I tried to set both "Sender" and "Receiver" in the Code convert of HULFT Transfer Send, but the result was the same.
In both of HULFT Square and the package version of HULFT, the character codes of the destination host is set to UTF-8.
What is the cause of this and is there any measure/workaround?
Answer
It is assumed that the cause is that a file in a character code other than UTF-8 was sent and then opened with a Linux text editor whose default character encoding is UTF-8.
If the same character code is set on the sending and receiving hosts, sending file's character code will not be converted. Therefore, even if the setting of character code and character encoding of the file are different, the file is sent without code conversion in such case.
As a result, some letters will be garbled since the character encoding of the file and the text editor's default character code is different.
As a measure, try converting the character encoding of the file before sending so that the character codes of the file sent and text editor match.
Comments
0 comments
Article is closed for comments.