Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Blender 2.6 Bug Tracker: Browse

[#25678] File open does not work when special character in path

Date:
2011-01-17 09:46
Priority:
3
State:
Closed
Submitted by:
Karl Kühberger (carlinhos)
Assigned to:
Damien Plisson (damien78)
Category:
International
Status:
Fixed / Closed
Relates to:
Duplicates:
Patches:
 
Summary:
File open does not work when special character in path
Detailed description
If there is a special character (German "Umlaut", ...) anywhere in the path (not necessarily in the .blend file),
then it is not possible to open the file with double-click.

I have tested it only on Mac OS X Snow Leopard with Blender 2.56a.

Error message:
"Can't read file ...... No such file or directory"

Followup

Message
  • Date: 2011-01-17 15:09
  • Sender: Ton Roosendaal
  • Damien: I did a test here with the reporters name :)
    if you drop a file on blender.app in the desktop, this is the file it gets in WM_read_file()

    17/1/2011 15:04:13 [0x0-0x2a32a3].org.blenderfoundation.blender[47770] wm read file, name /Users/ton/Desktop/K�hberger.blend
    (weird is that the error string print does show the umlaut correct...)

    With regular F1 load, it gets this:

    17/1/2011 15:04:13 [0x0-0x2a32a3].org.blenderfoundation.blender[47770] wm read file, name /Users/ton/Desktop/Kühberger.blend

    Is there some kind of utf mapping going on inside cocoa?
  • Date: 2011-01-18 21:54
  • Sender: Damien Plisson
  • That was it: wrong mapping of Cocoa strings, it was set to ISOLatin1 where conversion to UTF8 is the one that works here.

    Fixed in svn # 34391
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2011-01-18 21:54damien78
close_dateNone2011-01-18 21:54damien78
StatusInvestigate2011-01-18 21:54damien78
StatusNew2011-01-17 15:09ton
assigned_tonone2011-01-17 11:38aligorith