Closed
Bug 139114
Opened 22 years ago
Closed 18 years ago
unable to attach a file with a name composed with international characters
Categories
(MailNews Core :: Internationalization, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: jean-max.reymond, Assigned: masaki.katakai)
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417 BuildID: 2002041711 If you select a file with a name composed with international characters (like qwerèty.txt), you have a box with the message: "file //tmp/qwer does not exist" Reproducible: Always Steps to Reproduce: 1.create a file /tmp/qwerèty.txt 2.compose a message 3.attach the file qwerèty.txt Actual Results: blocking message box Expected Results: attach the file name /tmp/qwerèty.txt
Comment 1•22 years ago
|
||
WFM: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020419 pi
Jean-Max, in which locale are you running mozilla? The file picker depends on locale, for instance, if you are running mozilla in C locale, you won't be able to pick up the file.
Reporter | ||
Comment 4•22 years ago
|
||
yes, I am running in C locale and it works with export LANG=fr_FR but, it is very strange to pick a file name and have this message even if the LOCALE is not correct
We have bug 107941 filed for filename handling using unicode.
Reporter | ||
Comment 6•22 years ago
|
||
not Unicode, just ASCII 8 bits
If it supports unicode, it won't depend on the locale in which mozilla is running.
Updated•22 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•22 years ago
|
||
Katakai san, do you know what we get for a platform charset for C locale, not ISO-8859-1?
Status: NEW → ASSIGNED
Comment 9•22 years ago
|
||
bug 97189, which I mentioned earlier is also describing a very similiar problem. In that bug, when you save a file using the filepicker with a name containing characters like 'è', then the filename gets truncated in the same way. So if this bug is fixed, bug 97189 would probably then fixed too.
Assignee | ||
Comment 10•22 years ago
|
||
Hi Hotta-san, How are you? I understand if we set "C", Mozilla uses 646=us-ascii as the platform charset and it does define only ASCII.
Comment 11•22 years ago
|
||
Katakai san, Thank you, I am fine. What if we change to ISO-8859-1? Would that cause problems?
Comment 12•22 years ago
|
||
Katakai san, could you take care this? If this is a feature then it can be marked as invalid or wontfix.
Assignee: nhotta → katakai
Status: ASSIGNED → NEW
Assignee | ||
Comment 13•22 years ago
|
||
I don't think any regression will happen when we switch from us-ascii to iso-8859-1. If we consider usability and compatibility between the existing environment, we should use iso-8859-1 instead of us-ascii in C locale. Anyway, I'll test.
Status: NEW → ASSIGNED
Assignee | ||
Comment 14•22 years ago
|
||
xpcom now uses mbtowcs() on Linux for conversion native to UCS2. I tried this today and it works fine. However, UNIX system such as Solaris, iconv() does not support such range (non-ascii range) in 646 to UCS-2 converter. So the problem is still exsisting and only changing us-ascuu -> iso-8850-1 can not solve the issue. We have to hack xpcom/io. I'll ask iconv() expert of Solaris why 646 to UCS-2 converter does not support such range. Actually the specification does not support such range but usually many users wants to use the characters even when the application is running in C locale.
Updated•20 years ago
|
Product: MailNews → Core
Comment 15•18 years ago
|
||
I just tried this in Linux (Ubuntu Dapper) with a file named with Chinese characters, in TB 1.5 and 3a1. I think this is all working OK under Linux. (Windows has some problems still; see bug 334280.)
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•