Japanese text in Slices Group Name not decoded properly

Started by Hiccup, February 17, 2020, 08:35:43 AM

Previous topic - Next topic

Hiccup

System type: Windows 8.1
ExifTool version: 11.87
Specific command line: exiftool ss_nsmb_pre22.jpg > output.txt
Console output: none. output.txt attached

The Slices Group Name is not being decoded properly. It should be Japanese text, but it displayed like "ÉQÅ[ÉÄâÊñ _É}ÉäÉI VS ÉãÉCÅ[ÉW_01ëŒêÌëêå¥_01".

The "VS" and "_01" appear to be decoded properly.

Phil Harvey

This is odd.  All of the high bytes in the "Unicode" text are zero (execept for one, which is 01).  This is not what I would expect for Japanese characters (which should mostly be 0x30 in the high byte I believe).  If anyone knows how this should be decoded, please let me know:

  | | SlicesGroupName = ..Q..[............_..}......I VS ......C..[..W_01................_01
  | | - Tag 0x0014 (86 bytes, ustr32[86]):
  | |     1ae2: 00 c9 00 51 00 c5 00 5b 00 c9 00 c4 00 e2 00 ca [...Q...[........]
  | |     1af2: 00 f1 00 a0 00 5f 00 c9 00 7d 00 c9 00 e4 00 c9 [....._...}......]
  | |     1b02: 00 49 00 20 00 56 00 53 00 20 00 c9 00 e3 00 c9 [.I. .V.S. ......]
  | |     1b12: 00 43 00 c5 00 5b 00 c9 00 57 00 5f 00 30 00 31 [.C...[...W._.0.1]
  | |     1b22: 00 eb 01 52 00 ea 00 cc 00 eb 00 ea 00 e5 00 a5 [...R............]
  | |     1b32: 00 5f 00 30 00 31                               [._.0.1]


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

mverive


Phil Harvey

Interesting, thanks.  According to the Adobe documentation, this should be Unicode.  There is no mention of JIS, and I can't see anywhere that the code page / character set is specified.  So I wouldn't know how to decide when this should be interpreted as JIS.

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

Hiccup

Hm not sure. Maybe photoshop can output files like this if set to Japanese. This might be something for a user option rather than something that should/can be auto-detected.