ExifTool Forum

General => Metadata => Topic started by: Zetorg on February 27, 2021, 02:21:50 PM

Title: How to insert acute vocals into title
Post by: Zetorg on February 27, 2021, 02:21:50 PM
I've downloaded this youtube video 1080p:
https://www.youtube.com/watch?v=s4n23sJ8cbA

This is the information displayed by exiftool on Windows:
(https://i.imgur.com/6zSs5NT.png)

This is Properties on Windows explorer (displayed properly). Also MediaInfo displays it properly too:
(https://i.imgur.com/sLnGZba.png)

This is the end of the file:
Code: [Select]
05748bb0: 056f f614 0000 001a 7367 7064 0100 0000  .o......sgpd....
05748bc0: 726f 6c6c 0000 0002 0000 0001 ffff 0000  roll............
05748bd0: 001c 7362 6770 0000 0000 726f 6c6c 0000  ..sbgp....roll..
05748be0: 0001 0000 2b0a 0000 0001 0000 0154 7564  ....+........Tud
05748bf0: 7461 0000 014c 6d65 7461 0000 0000 0000  ta...Lmeta......
05748c00: 0021 6864 6c72 0000 0000 0000 0000 6d64  .!hdlr........md
05748c10: 6972 6170 706c 0000 0000 0000 0000 0000  irappl..........
05748c20: 0001 1f69 6c73 7400 0000 69a9 6e61 6d00  ...ilst...i.nam.
05748c30: 0000 6164 6174 6100 0000 0100 0000 0044  ..adata........D
05748c40: 6176 696c 6573 2064 6520 4e6f 7665 6c64  aviles de Noveld
05748c50: 6120 7820 4461 6e69 4d66 6c6f 7720 6674  a x DaniMflow ft
05748c60: 204a 6f6e 6174 6861 6e20 5361 6c69 6e61   Jonathan Salina
05748c70: 7320 2d20 506f 7220 5175 c3a9 2028 5669  s - Por Qu.. (Vi
05748c80: 6465 6f63 6c69 7020 4f66 6963 6961 6c29  deoclip Oficial)
05748c90: 0000 002a a941 5254 0000 0022 6461 7461  ...*.ART..."data
05748ca0: 0000 0001 0000 0000 4461 7669 6c65 7320  ........Daviles
05748cb0: 6465 204e 6f76 656c 6461 0000 001c a964  de Novelda.....d
05748cc0: 6179 0000 0014 6461 7461 0000 0001 0000  ay....data......
05748cd0: 0000 3230 3138 0000 0025 a974 6f6f 0000  ..2018...%.too..
05748ce0: 001d 6461 7461 0000 0001 0000 0000 4c61  ..data........La
05748cf0: 7666 3538 2e33 392e 3130 3100 0000 43a9  vf58.39.101...C.
05748d00: 636d 7400 0000 3b64 6174 6100 0000 0100  cmt...;data.....
05748d10: 0000 0068 7474 7073 3a2f 2f77 7777 2e79  ...https://www.y
05748d20: 6f75 7475 6265 2e63 6f6d 2f77 6174 6368  outube.com/watch
05748d30: 3f76 3d73 346e 3233 734a 3863 6241       ?v=s4n23sJ8cbA



However when I insert the same title to another mp4 file, the acute vocal (é or whatever it is) is not displayed properly. Any help?
Code: [Select]
& '.\exiftool(-k).exe' -title='¿Por qué?' .\porque-2.mp4
Code: [Select]
00003510: a96e 616d 0000 0019 6461 7461 0000 0001  .nam....data....
00003520: 0000 0000 bf50 6f72 2071 75e9 3f00 0000  .....Por qu.?...
00003530: 26a9 4152 5400 0000 1e64 6174 6100 0000  &.ART....data...

(https://i.imgur.com/BOxMKmj.png)

(https://i.imgur.com/9afFUyr.png)
Title: Re: How to insert acute vocals into title
Post by: StarGeek on February 27, 2021, 04:33:56 PM
Windows CMD has a big problem with Unicode characters.  You can try the options listed in FAQ #18 (https://exiftool.org/faq.html#Q18).  Or try adding the -L (latin) option (https://exiftool.org/exiftool_pod.html#L--latin) in the case of simple accented characters like these.  Or, if you're on Windows 10, try this this StackOverflow answer (https://stackoverflow.com/questions/57131654/using-utf-8-encoding-chcp-65001-in-command-prompt-windows-powershell-window/57134096#57134096).
Title: Re: How to insert acute vocals into title
Post by: Zetorg on February 28, 2021, 05:15:19 AM
Thank you. Easily solved putting the title inside an UTF-8 text file.