Page 1 of 1

convert symbols like © with command line

Posted: Wed Mar 18, 2020 10:13 am
by janbo1982
Hello all!

do you could add that it work to convert symbols like ©? At the moment nconvert.exe do "-®" from "©". For example with Arial.

What do you thing?

BR
Jan

Re: convert symbols like © with command line

Posted: Wed Mar 18, 2020 10:51 am
by cday
janbo1982 wrote: Wed Mar 18, 2020 10:13 am do you could add that it work to convert symbols like ©? At the moment nconvert.exe do "-®" from "©". For example with Arial.
The problem is not with NConvert but with the way the Windows command line reads code from all utilities, so it is unlikely that Pierre can implement a solution.

The issue seems to relate to the code pages used, not something I know much about, but if you Google something like 'cmd incorrect character code pages' there are links to resources that give some background, maybe your technician can understand it. Personally I wouldn't want to change the code page used without a full understanding of what I was doing.

However, from a quick look at the internet search results, running your code from Windows PowerShell rather than CMD should be a workaround... :D

The following technical resource seems particularly relevant and refers to the use of use PowerShell.

Edit:

You also, of course, need to ensure that the font you specify supports the '©' character, and it may be advisable to use a .ttf font.