Special characters - ò, ç, ã

Started by maxadelmann, November 20, 2022, 06:06:25 AM

Previous topic - Next topic

maxadelmann

Hi

I am using try to use line comamd for Dublin Core Metadate , my problem is about the special characetrs with line command , there is way to solve this ??

 exiftool 001.tif -CopyrightNotice="Acervo Sesc Memórias"
The result is Acervo Sesc Memo+   
There is any aplication we can use Windows program ....
thanks in advanced

Max

Phil Harvey

FAQ 10 describes how special characters are handled.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

StarGeek

I think this is FAQ #18 since Windows is mentioned.

Windows CMD is has a lot of problems when it comes to non-ASCII characters.  The options in FAQ 18 may help.

In my case, those options never did work, but this StackOverflow answer fixed the problem for me.  Unfortunately, it also has the side effect of causing some display problems in some older programs.  If you use that option, you'll have to test it and see if the problems are acceptable.

Another alternative is to encode the problematic characters as HTML entities and use the -E (-escapeHTML) option.  For example
-CopyrightNotice="Acervo Sesc Memórias"
would become
-E -CopyrightNotice="Acervo Sesc Memórias"
or
-E -CopyrightNotice="Acervo Sesc Memórias"
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype