Seem to similar to the psoting from XnViewMP from 2013:
viewtopic.php?f=62&t=28057&p=111331&hil ... ut#p111331
-----------------
When I add a IPTC value (e.g. string "Parkplätze") to key 120 (Description) with nconvert.exe, then the "umlaut" is displayed as "?". MS Explorer shows it correct.
When I enter the value with the dialogue in XnView, then it is displayed correctly also in XnView.
See image and example attached.
IPTC and German Umlaute
Moderators: XnTriq, helmut, xnview
-
- XnThusiast
- Posts: 1350
- Joined: Thu Nov 24, 2005 3:07 pm
- Location: CH
IPTC and German Umlaute
You do not have the required permissions to view the files attached to this post.
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
-
- Author of XnView
- Posts: 44922
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: IPTC and German Umlaute
it's strange, IPTC is marked as utf8 but string is locale encoded
Pierre.
-
- XnThusiast
- Posts: 1350
- Joined: Thu Nov 24, 2005 3:07 pm
- Location: CH
Re: IPTC and German Umlaute
Today I worked again with it and is was OK. I don't know what was going on ..
XnViewMP <Current version> German, XnConvert <Current version>, Win 10
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: IPTC and German Umlaute
I used Stuffware Photo Studio to extract the APP13 markers of wrong_iptc.jpg and a fixed version. Maybe this will help Pierre to identify the problem.
You do not have the required permissions to view the files attached to this post.
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: IPTC and German Umlaute
mahikeulbody (0.51: Display of UTF8 IPTC fields) wrote: ↑Sun Aug 12, 2012 8:58 pm Exiftool doc : The Exiftool default when IPTC:CodedCharacterSet is not defined is Latin.
Exiftool FAQ : Note that unless CodedCharacterSet indicates UTF‑8, applications have no reliable way to determine the IPTC character encoding. For this reason, it is recommended that CodedCharacterSet be set to "UTF8" when creating new IPTC.
So, if I want IPTC tag encoded in UTF8 I have to do : exiftool -charset iptc=UTF8 -IPTC:City="Athènes" img.jpg -CodedCharacterSet=UTF8
I suppose that XnViewMP do it also.
So my problem is solved but that doesn't explain why XnViewMP displays "Athènes" in the Exiftool panel and "Athnes" in the IPTC panel when both CodedCharacterSet doesn't exist into the file and IPTC tag is Latin encoded. May be you don't use the same Exiftool command for each panel.
herb (UTF-8 missing in IPTC Encoding) wrote: ↑Sat Jul 06, 2013 1:42 pmthanks for the new version 0.60 of XnViewMP and thanks for adding UTF8 to the list of possible IPTC encodings.
And sorry, but for me the problem is not fully corrected.
Yes, XnViewMP itself now uses the correct encoding to read IPTC data, but Exiftool does not.
For images - with IPTC metadata and without the tag CodedCharacterSet - Exiftool must be started with following option:
exiftool. exe -charset iptc=utf8 <imagefile>.
Please add this option when eExiftool is started.
https://www.exiftool.org/TagNames/IPTC.html#EnvelopeRecord wrote:(values are entered in the form “ESC X Y[, ...]”. The escape sequence for UTF-8 character coding is “ESC % G”, but this is displayed as “UTF8” for convenience. Either string may be used when writing. The value of this tag affects the decoding of string values in the Application and NewsPhoto records. This tag is marked as “unsafe” to prevent it from being copied by default in a group operation because existing tags in the destination image may use a different encoding. When creating a new IPTC record from scratch, it is suggested that this be set to “UTF8” if special characters are a possibility)
Exiv2: Iptc.Envelope.CharacterSet not reported correctlyJPEGsnoop (wrong_iptc.jpg) wrote:Code: Select all
IPTC [001:090] Coded Character Set = " %G"
-
- Moderator & Librarian
- Posts: 6387
- Joined: Sun Sep 25, 2005 3:00 am
- Location: Ref Desk
Re: IPTC and German Umlaute
nconvert.exe -iptc_print 120 wrong.jpg >wrong_iptcprint.txt wrote:Code: Select all
X:\Test\wrong.jpg : Success Format : JPEG TrueColor (v1.1) Name : jpeg Compression : JPEG Width : 191 Height : 169 Components per pixel : 3 Bits per component : 8 Depth : 24 # colors : 16777216 Color model : RGB Bytes Per Plane : 573 Orientation : Top Left Xdpi : 180 Ydpi : 180 Page(s) : 1 Metadata : ( EXIF IPTC ICC ) Color Profile : sRGB IEC61966-2.1 IPTC 120: Parkpltze
nconvert.exe -iptc_print 120 fixed.jpg >fixed_iptcprint.txt wrote:Code: Select all
X:\Test\fixed.jpg : Success Format : JPEG TrueColor (v1.1) Name : jpeg Compression : JPEG Width : 191 Height : 169 Components per pixel : 3 Bits per component : 8 Depth : 24 # colors : 16777216 Color model : RGB Bytes Per Plane : 573 Orientation : Top Left Xdpi : 180 Ydpi : 180 Page(s) : 1 Metadata : ( EXIF IPTC ICC ) Color Profile : sRGB IEC61966-2.1 IPTC 120: Parkplätze
nconvert.exe -fullinfo wrong.jpg >wrong_fullinfo.txt wrote:Code: Select all
X:\Test\wrong.jpg : Success Format : JPEG TrueColor (v1.1) Name : jpeg Compression : JPEG Width : 191 Height : 169 Components per pixel : 3 Bits per component : 8 Depth : 24 # colors : 16777216 Color model : RGB Bytes Per Plane : 573 Orientation : Top Left Xdpi : 180 Ydpi : 180 Page(s) : 1 Metadata : ( EXIF IPTC ICC ) Color Profile : sRGB IEC61966-2.1 TAG 100 3 2 TAG 101 3 2 TAG 102 3 6 TAG 106 3 2 TAG 10f 2 10 TAG 110 2 8 TAG 112 3 2 TAG 115 3 2 TAG 11a 5 8 TAG 11b 5 8 TAG 128 3 2 TAG 131 2 30 TAG 132 2 20 TAG 213 3 2 TAG c4a5 7 208 TAG c6d2 7 64 TAG c6d3 7 128 TAG 8769 4 4 TAG 829a 5 8 TAG 829d 5 8 TAG 8822 3 2 TAG 8827 3 2 TAG 8830 3 2 TAG 9000 7 4 TAG 9003 2 20 TAG 9004 2 20 TAG 9101 7 4 TAG 9102 5 8 TAG 9201 10 8 TAG 9202 5 8 TAG 9204 10 8 TAG 9205 5 8 TAG 9207 3 2 TAG 9208 3 2 TAG 9209 3 2 TAG 920a 5 8 TAG a000 7 4 TAG a001 3 2 TAG a002 4 4 TAG a003 4 4 TAG a005 4 4 TAG a217 3 2 TAG a300 7 1 TAG a301 7 1 TAG a401 3 2 TAG a402 3 2 TAG a403 3 2 TAG a404 5 8 TAG a405 3 2 TAG a406 3 2 TAG a407 3 2 TAG a408 3 2 TAG a409 3 2 TAG a40a 3 2 TAG 1 2 4 TAG 2 7 4 TAG 103 3 2 TAG 11a 5 8 TAG 11b 5 8 TAG 128 3 2 TAG 201 4 4 TAG 202 4 4 EXIF: Camera: Image width (0x0100): 4000 Image length (0x0101): 3000 Bits per sample (0x0102): 8 Photometric interpretation (0x0106): 2 Camera Manufacturer (0x010f): Panasonic Camera Model (0x0110): DMC-FT3 Orientation (0x0112): top-left (1) Samples per pixel (0x0115): 3 X Resolution (0x011a): 180 Y Resolution (0x011b): 180 Resolution unit (0x0128): Inch Software (0x0131): Adobe Photoshop CS6 (Windows) Date modified (0x0132): 2014:05:22 11:06:03 YCbCr Positioning (0x0213): co-sited (2) Image: Exposure time [s] (0x829a): 1/200 F-Number (0x829d): 3.3 Exposure program (0x8822): Landscape mode (8) ISO speed ratings (0x8827): 100 EXIF version (0x9000): 02.30 Date taken (0x9003): 2014:05:13 08:57:58 Date digitized (0x9004): 2014:05:13 08:57:58 Components configuration (0x9101): YCbCr Compressed bits per pixel (0x9102): 4 Shutter speed [s] (0x9201): 1/200 Aperture (0x9202): F3.3 Exposure bias value (0x9204): 0 Max aperture (0x9205): F3.3 Metering mode (0x9207): Multi-segment (5) Light source (0x9208): Unknown (0) Flash (0x9209): No flash Focal length [mm] (0x920a): 4.9 FlashPix Version (0xa000): 01.00 Colour space (0xa001): sRGB EXIF image width (0xa002): 4000 EXIF image length (0xa003): 2666 Interoperability offset (0xa005): 1272 Sensing method (0xa217): One-chip color area sensor (2) File source (0xa300): DSC Scene type (0xa301): A directly photographed image Custom rendered (0xa401): Normal process (0) Exposure mode (0xa402): Auto (0) White balance (0xa403): Auto (0) Digital zoom (0xa404): 0 Focal length (35mm) (0xa405): 28 Scene capture type (0xa406): Standard (0) Gain control (0xa407): None (0) Contrast (0xa408): Normal (0) Saturation (0xa409): Normal (0) Sharpness (0xa40a): Normal (0) IOP: IOP index (0x0001): R98 IOP version (0x0002): 0100 Thumbnail: Compression (0x0103): 6 X Resolution (0x011a): 72 Y Resolution (0x011b): 72 Resolution unit (0x0128): Inch Thumbnail offset (0x0201): 1398 Thumbnail length (0x0202): 2973 IPTC: Date Created (0x37): 20140513 Time Created (0x3c): 085758+0000 Caption (0x78): Parkpltze
My Windows console is using code page 437:nconvert.exe -fullinfo fixed.jpg >fixed_fullinfo.txt wrote:Code: Select all
X:\Test\fixed.jpg : Success Format : JPEG TrueColor (v1.1) Name : jpeg Compression : JPEG Width : 191 Height : 169 Components per pixel : 3 Bits per component : 8 Depth : 24 # colors : 16777216 Color model : RGB Bytes Per Plane : 573 Orientation : Top Left Xdpi : 180 Ydpi : 180 Page(s) : 1 Metadata : ( EXIF IPTC ICC ) Color Profile : sRGB IEC61966-2.1 TAG 100 3 2 TAG 101 3 2 TAG 102 3 6 TAG 106 3 2 TAG 10f 2 10 TAG 110 2 8 TAG 112 3 2 TAG 115 3 2 TAG 11a 5 8 TAG 11b 5 8 TAG 128 3 2 TAG 131 2 30 TAG 132 2 20 TAG 213 3 2 TAG c4a5 7 208 TAG c6d2 7 64 TAG c6d3 7 128 TAG 8769 4 4 TAG 829a 5 8 TAG 829d 5 8 TAG 8822 3 2 TAG 8827 3 2 TAG 8830 3 2 TAG 9000 7 4 TAG 9003 2 20 TAG 9004 2 20 TAG 9101 7 4 TAG 9102 5 8 TAG 9201 10 8 TAG 9202 5 8 TAG 9204 10 8 TAG 9205 5 8 TAG 9207 3 2 TAG 9208 3 2 TAG 9209 3 2 TAG 920a 5 8 TAG a000 7 4 TAG a001 3 2 TAG a002 4 4 TAG a003 4 4 TAG a005 4 4 TAG a217 3 2 TAG a300 7 1 TAG a301 7 1 TAG a401 3 2 TAG a402 3 2 TAG a403 3 2 TAG a404 5 8 TAG a405 3 2 TAG a406 3 2 TAG a407 3 2 TAG a408 3 2 TAG a409 3 2 TAG a40a 3 2 TAG 1 2 4 TAG 2 7 4 TAG 103 3 2 TAG 11a 5 8 TAG 11b 5 8 TAG 128 3 2 TAG 201 4 4 TAG 202 4 4 EXIF: Camera: Image width (0x0100): 4000 Image length (0x0101): 3000 Bits per sample (0x0102): 8 Photometric interpretation (0x0106): 2 Camera Manufacturer (0x010f): Panasonic Camera Model (0x0110): DMC-FT3 Orientation (0x0112): top-left (1) Samples per pixel (0x0115): 3 X Resolution (0x011a): 180 Y Resolution (0x011b): 180 Resolution unit (0x0128): Inch Software (0x0131): Adobe Photoshop CS6 (Windows) Date modified (0x0132): 2014:05:22 11:06:03 YCbCr Positioning (0x0213): co-sited (2) Image: Exposure time [s] (0x829a): 1/200 F-Number (0x829d): 3.3 Exposure program (0x8822): Landscape mode (8) ISO speed ratings (0x8827): 100 EXIF version (0x9000): 02.30 Date taken (0x9003): 2014:05:13 08:57:58 Date digitized (0x9004): 2014:05:13 08:57:58 Components configuration (0x9101): YCbCr Compressed bits per pixel (0x9102): 4 Shutter speed [s] (0x9201): 1/200 Aperture (0x9202): F3.3 Exposure bias value (0x9204): 0 Max aperture (0x9205): F3.3 Metering mode (0x9207): Multi-segment (5) Light source (0x9208): Unknown (0) Flash (0x9209): No flash Focal length [mm] (0x920a): 4.9 FlashPix Version (0xa000): 01.00 Colour space (0xa001): sRGB EXIF image width (0xa002): 4000 EXIF image length (0xa003): 2666 Interoperability offset (0xa005): 1272 Sensing method (0xa217): One-chip color area sensor (2) File source (0xa300): DSC Scene type (0xa301): A directly photographed image Custom rendered (0xa401): Normal process (0) Exposure mode (0xa402): Auto (0) White balance (0xa403): Auto (0) Digital zoom (0xa404): 0 Focal length (35mm) (0xa405): 28 Scene capture type (0xa406): Standard (0) Gain control (0xa407): None (0) Contrast (0xa408): Normal (0) Saturation (0xa409): Normal (0) Sharpness (0xa40a): Normal (0) IOP: IOP index (0x0001): R98 IOP version (0x0002): 0100 Thumbnail: Compression (0x0103): 6 X Resolution (0x011a): 72 Y Resolution (0x011b): 72 Resolution unit (0x0128): Inch Thumbnail offset (0x0201): 1398 Thumbnail length (0x0202): 2973 IPTC: Date Created (0x37): 20140513 Time Created (0x3c): 085758+0000 Caption (0x78): Parkpldtze
Results from Brandfolder's Extract Image Metadata Tool (including CurrentIPTCDigest + CodedCharacterSet + ApplicationRecordVersion):cmd.exe wrote:Code: Select all
mode con cp Status for device CON: ---------------------- Code page: 437
wrong.jpg wrote:Code: Select all
FileSize: 15 kB FileType: JPEG FileTypeExtension: jpg MIMEType: image/jpeg JFIFVersion: 1.01 ExifByteOrder: Little-endian (Intel, II) PhotometricInterpretation: RGB Make: Panasonic Model: DMC-FT3 Orientation: Horizontal (normal) SamplesPerPixel: 3 XResolution: 180 YResolution: 180 ResolutionUnit: inches Software: Adobe Photoshop CS6 (Windows) ModifyDate: 2014-05-22T11:06:03.000+00:00 YCbCrPositioning: Co-sited PrintIMVersion: 250 ExposureTime: 1/200 FNumber: 3.3 ExposureProgram: Landscape ISO: 100 SensitivityType: Standard Output Sensitivity ExifVersion: 230 DateTimeOriginal: 2014-05-13T08:57:58.000+00:00 CreateDate: 2014-05-13T08:57:58.000+00:00 ComponentsConfiguration: Y, Cb, Cr, - CompressedBitsPerPixel: 4 ShutterSpeedValue: 1/200 ApertureValue: 3.3 ExposureCompensation: 0 MaxApertureValue: 3.3 MeteringMode: Multi-segment LightSource: Unknown Flash: Auto, Did not fire FocalLength: 4.9 mm FlashpixVersion: 100 ColorSpace: sRGB ExifImageWidth: 4000 ExifImageHeight: 2666 InteropIndex: R98 - DCF basic file (sRGB) InteropVersion: 100 SensingMethod: One-chip color area FileSource: Digital Camera SceneType: Directly photographed CustomRendered: Normal ExposureMode: Auto WhiteBalance: Auto DigitalZoomRatio: 0 FocalLengthIn35mmFormat: 28 mm SceneCaptureType: Standard GainControl: None Contrast: Normal Saturation: Normal Sharpness: Normal Compression: JPEG (old-style) ThumbnailOffset: 1428 ThumbnailLength: 2973 CurrentIPTCDigest: e7d320ef1b4080c2af4c3d2fd7c441be CodedCharacterSet: UTF8 ApplicationRecordVersion: 0 DateCreated: 2014:05:13 TimeCreated: 08:57:58+00:00 Caption-Abstract: Parkpl?tze ProfileCMMType: Linotronic ProfileVersion: 2.1.0 ProfileClass: Display Device Profile ColorSpaceData: RGB ProfileConnectionSpace: XYZ ProfileDateTime: 1998-02-09T06:49:00.000+00:00 ProfileFileSignature: acsp PrimaryPlatform: Microsoft Corporation CMMFlags: Not Embedded, Independent DeviceManufacturer: IEC DeviceModel: sRGB DeviceAttributes: Reflective, Glossy, Positive, Color RenderingIntent: Perceptual ConnectionSpaceIlluminant: 0.9642 1 0.82491 ProfileCreator: HP ProfileID: 0 ProfileCopyright: Copyright (c) 1998 Hewlett-Packard Company ProfileDescription: sRGB IEC61966-2.1 MediaWhitePoint: 0.95045 1 1.08905 MediaBlackPoint: 0 0 0 RedMatrixColumn: 0.43607 0.22249 0.01392 GreenMatrixColumn: 0.38515 0.71687 0.09708 BlueMatrixColumn: 0.14307 0.06061 0.7141 DeviceMfgDesc: IEC http://www.iec.ch DeviceModelDesc: IEC 61966-2.1 Default RGB colour space - sRGB ViewingCondDesc: Reference Viewing Condition in IEC61966-2.1 ViewingCondIlluminant: 19.6445 20.3718 16.8089 ViewingCondSurround: 3.92889 4.07439 3.36179 ViewingCondIlluminantType: D50 Luminance: 76.03647 80 87.12462 MeasurementObserver: CIE 1931 MeasurementBacking: 0 0 0 MeasurementGeometry: Unknown MeasurementFlare: 0.999% MeasurementIlluminant: D65 Technology: Cathode Ray Tube Display RedTRC: (Binary data 2060 bytes, use -b option to extract) GreenTRC: (Binary data 2060 bytes, use -b option to extract) BlueTRC: (Binary data 2060 bytes, use -b option to extract) ImageWidth: 191 ImageHeight: 169 EncodingProcess: Baseline DCT, Huffman coding BitsPerSample: 8 ColorComponents: 3 YCbCrSubSampling: YCbCr4:2:0 (2 2) Aperture: 3.3 DateTimeCreated: 2014-05-13T08:57:58.000+00:00 ImageSize: 191x169 Megapixels: 0.032 ScaleFactor35efl: 5.7 ShutterSpeed: 1/200 ThumbnailImage: (Binary data 2973 bytes, use -b option to extract) CircleOfConfusion: 0.005 mm FOV: 65.5 deg FocalLength35efl: 4.9 mm (35 mm equivalent: 28.0 mm) HyperfocalDistance: 1.38 m LightValue: 11.1
fixed.jpg wrote:Code: Select all
FileSize: 15 kB FileType: JPEG FileTypeExtension: jpg MIMEType: image/jpeg JFIFVersion: 1.01 ExifByteOrder: Little-endian (Intel, II) PhotometricInterpretation: RGB Make: Panasonic Model: DMC-FT3 Orientation: Horizontal (normal) SamplesPerPixel: 3 XResolution: 180 YResolution: 180 ResolutionUnit: inches Software: Adobe Photoshop CS6 (Windows) ModifyDate: 2014-05-22T11:06:03.000+00:00 YCbCrPositioning: Co-sited PrintIMVersion: 250 ExposureTime: 1/200 FNumber: 3.3 ExposureProgram: Landscape ISO: 100 SensitivityType: Standard Output Sensitivity ExifVersion: 230 DateTimeOriginal: 2014-05-13T08:57:58.000+00:00 CreateDate: 2014-05-13T08:57:58.000+00:00 ComponentsConfiguration: Y, Cb, Cr, - CompressedBitsPerPixel: 4 ShutterSpeedValue: 1/200 ApertureValue: 3.3 ExposureCompensation: 0 MaxApertureValue: 3.3 MeteringMode: Multi-segment LightSource: Unknown Flash: Auto, Did not fire FocalLength: 4.9 mm FlashpixVersion: 100 ColorSpace: sRGB ExifImageWidth: 4000 ExifImageHeight: 2666 InteropIndex: R98 - DCF basic file (sRGB) InteropVersion: 100 SensingMethod: One-chip color area FileSource: Digital Camera SceneType: Directly photographed CustomRendered: Normal ExposureMode: Auto WhiteBalance: Auto DigitalZoomRatio: 0 FocalLengthIn35mmFormat: 28 mm SceneCaptureType: Standard GainControl: None Contrast: Normal Saturation: Normal Sharpness: Normal Compression: JPEG (old-style) ThumbnailOffset: 1428 ThumbnailLength: 2973 CurrentIPTCDigest: 7ce129a4d2b5fedb27f963553d6d8672 DateCreated: 2014:05:13 TimeCreated: 08:57:58+00:00 Caption-Abstract: Parkplätze ProfileCMMType: Linotronic ProfileVersion: 2.1.0 ProfileClass: Display Device Profile ColorSpaceData: RGB ProfileConnectionSpace: XYZ ProfileDateTime: 1998-02-09T06:49:00.000+00:00 ProfileFileSignature: acsp PrimaryPlatform: Microsoft Corporation CMMFlags: Not Embedded, Independent DeviceManufacturer: IEC DeviceModel: sRGB DeviceAttributes: Reflective, Glossy, Positive, Color RenderingIntent: Perceptual ConnectionSpaceIlluminant: 0.9642 1 0.82491 ProfileCreator: HP ProfileID: 0 ProfileCopyright: Copyright (c) 1998 Hewlett-Packard Company ProfileDescription: sRGB IEC61966-2.1 MediaWhitePoint: 0.95045 1 1.08905 MediaBlackPoint: 0 0 0 RedMatrixColumn: 0.43607 0.22249 0.01392 GreenMatrixColumn: 0.38515 0.71687 0.09708 BlueMatrixColumn: 0.14307 0.06061 0.7141 DeviceMfgDesc: IEC http://www.iec.ch DeviceModelDesc: IEC 61966-2.1 Default RGB colour space - sRGB ViewingCondDesc: Reference Viewing Condition in IEC61966-2.1 ViewingCondIlluminant: 19.6445 20.3718 16.8089 ViewingCondSurround: 3.92889 4.07439 3.36179 ViewingCondIlluminantType: D50 Luminance: 76.03647 80 87.12462 MeasurementObserver: CIE 1931 MeasurementBacking: 0 0 0 MeasurementGeometry: Unknown MeasurementFlare: 0.999% MeasurementIlluminant: D65 Technology: Cathode Ray Tube Display RedTRC: (Binary data 2060 bytes, use -b option to extract) GreenTRC: (Binary data 2060 bytes, use -b option to extract) BlueTRC: (Binary data 2060 bytes, use -b option to extract) ImageWidth: 191 ImageHeight: 169 EncodingProcess: Baseline DCT, Huffman coding BitsPerSample: 8 ColorComponents: 3 YCbCrSubSampling: YCbCr4:2:0 (2 2) Aperture: 3.3 DateTimeCreated: 2014-05-13T08:57:58.000+00:00 ImageSize: 191x169 Megapixels: 0.032 ScaleFactor35efl: 5.7 ShutterSpeed: 1/200 ThumbnailImage: (Binary data 2973 bytes, use -b option to extract) CircleOfConfusion: 0.005 mm FOV: 65.5 deg FocalLength35efl: 4.9 mm (35 mm equivalent: 28.0 mm) HyperfocalDistance: 1.38 m LightValue: 11.1