Closed
Bug 139114
Opened 23 years ago
Closed 19 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•23 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•23 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•23 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•23 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 8•23 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•23 years ago
|
||
| Assignee | ||
Comment 10•23 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•23 years ago
|
||
Katakai san,
Thank you, I am fine.
What if we change to ISO-8859-1? Would that cause problems?
Comment 12•23 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•23 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•23 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•21 years ago
|
Product: MailNews → Core
Comment 15•19 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: 19 years ago
Resolution: --- → WORKSFORME
Updated•17 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•