problem with non-ascii characters in file path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Firefogg |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
I have discovered that Firefogg has a problem with the use of umlauts (= non-ascii characters used in certain European languages) in filenames and in the directory path. By looking at the code in Firefogg.js (version 1.2.12) I have found the reason for this problem:
The method encodeUtf8 at line 2322 is outdated as you can see at https:/
Attributes of nsIFile and nsILocalFile like for instance 'path' are always UTF-16 encoded. So you should not try to encode them twice.
To resolve this problem one can simply eliminate the method encodeUtf8 or replace its body by 'return string;'. Since it is only used to encode input and output file path this fixes the bug without causing other problems. I have already tested this.
remark: I have noticed that this problem occurs also with Firefogg 2.0.x für Firefox 4 beta. But unfortunately there I can't see the reason.
Changed in firefogg: | |
status: | New → Confirmed |
Instead of sending the full file, could you send a patch against bzr. (bzr diff).
In Firefogg 2.0.x encodeUtf8 is no longer used, and non ascii should work since the last version
which os do you have the problem? I added encodeUtf8 due to problems on win32.