Page 1 of 1

Help with Chinese Labels

Posted: 2010-03-29T21:20:09-07:00
by kiatchan
Hi there,

I've been using the following command to generate a label with Chinese text:

convert -background white -fill blue -pointsize 36 -font STCaiyun label:@c:\UTF\chs02.txt c:\UTF\caiyun.gif

- chs02.txt contains the Chinese text
- Chinese font is STCaiyun

The output is in a way successful. I do get a Chinese label, however, there is this question mark (?) at the front of the Chinese words each time - like this.. ?XXXXX, where X denotes a discrete Chinese character. I have tried with other Chinese fonts, but the result is the same, the question mark still appears in front of the Chinese words.

Would really appreciate it if someone could please help.

Thanks,
Kiatchan

Re: Help with Chinese Labels

Posted: 2010-03-30T05:07:58-07:00
by snibgo
That would be the Byte Order Mark. See viewtopic.php?f=3&t=15720&p=56052