Project

General

Profile

Bug #11630

Opening ICC files with non-ASCII filename fails on Windows

Added by Tobias Ellinghaus about 2 years ago. Updated almost 2 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
General
Target version:
Start date:
05/30/2017
Due date:
% Done:

100%

Affected Version:
git master branch
System:
Windows
bitness:
64-bit
hardware architecture:
amd64/x86

Description

This is a bug in lcms2. I'm keeping this open until it's fixed upstream.

https://github.com/mm2/Little-CMS/issues/123

There would be the possibility to use GetShortPathNameW() but that feels ugly.

https://stackoverflow.com/questions/2729792/how-to-open-a-file-with-unicode-filename-on-windows


Related issues

Related to darktable - Bug #11631: Rawspeed: Opening files with non-ASCII filename fails on Windows Fixed 05/30/2017

Associated revisions

Revision b382a773
Added by Tobias Ellinghaus about 2 years ago

Load ICC profiles with non-ASCII path on Windows

Fixes #11630

History

#1 Updated by Tobias Ellinghaus about 2 years ago

There is another hack to make it work: read the file into memory and use cmsOpenProfileFromMem(). Does anyone have a preference on how to proceed?

#2 Updated by Roman Lebedev about 2 years ago

  • Related to Bug #11631: Rawspeed: Opening files with non-ASCII filename fails on Windows added

#3 Updated by Tobias Ellinghaus about 2 years ago

The LCMS2 people didn't react to my bug report so I fixed it locally by reading the file and loading the profile from memory.

#4 Updated by Tobias Ellinghaus about 2 years ago

  • % Done changed from 20 to 100
  • Status changed from Triaged to Fixed

#5 Updated by Roman Lebedev almost 2 years ago

  • Target version set to 2.4.0

Also available in: Atom PDF