Page 1 of 1

Unicode characters on Windows (localhost-wamp)

Posted: 2014-01-08T07:04:39-07:00
by emino
I've made a lot of testing and i could not get IM to properly caption with unicode characters on Windows -- without reading from file.
When read from file, they turn out OK, but not from command Image
jpg upload

I'm currently using this file workaround; saving the caption to a file with file put contents & read from file. But ideally, i'd like to use the cmd like i regularly would.

I've tried setting -encoding Unicode and everything else that's mentioned but just couldnt get it to work, do you think it's possible ?

Re: Unicode characters on Windows (localhost-wamp)

Posted: 2014-01-08T08:01:16-07:00
by snibgo
I think your question is entirely about Windows, with nothing specific to IM. A Windows forum may be a better place to ask.

Under Windows 8.1 I can type the command ...

Code: Select all

convert -pointsize 30 caption:"šŋĩβģő" s.png
... and get the expected result. The Command Prompt font is Lucina Console and CHCP is 850.

In Windows 7, from memory, you need to set CHCP to 1252.

Re: Unicode characters on Windows (localhost-wamp)

Posted: 2014-01-08T08:20:01-07:00
by emino
snibgo wrote:In Windows 7, from memory, you need to set CHCP to 1252.
And how do i do that, might i ask ?

Re: Unicode characters on Windows (localhost-wamp)

Posted: 2014-01-08T08:57:40-07:00
by snibgo
At the command prompt, before issuing the convert command, type the following commands:

Code: Select all

chcp
chcp 1252
The first command just tells you the current setting (probably 850). The second changes it to 1252.

Re: Unicode characters on Windows (localhost-wamp)

Posted: 2014-01-08T14:39:20-07:00
by emino
it was 857, changed it to 1252, but made no difference.
snibgo wrote:At the command prompt, before issuing the convert command, type the following commands:

Code: Select all

chcp
chcp 1252
The first command just tells you the current setting (probably 850). The second changes it to 1252.