File Chooser Dialog returns underscores for extended character set characters

View: New views
3 Messages — Rating Filter:   Alert me  

File Chooser Dialog returns underscores for extended character set characters

by Jeff Osborn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

I have been digging around the Mozilla website trying to find some
information on this problem with no luck, so I thought I would post here.

When I use a File Chooser Dialog on a file with extended character set
characters in the path and/or name, those characters end up in my Input
field as underscores.  I have the meta tags on the page set up as
follows.....

<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>

I get Chinese characters to display on the page, and on that other browser
(i.e.. IE ;) ) I can browse, get the file name and upload the file fine.  I
can also successfully submit internationalized string data via post using
FireFox.  I guess my point is that I think I have things set up correctly,
and I am wondering if I am missing something or if this is a FireFox 1.5
problem.

Thanks in advance for your help,

Jeff


_______________________________________________
dev-i18n mailing list
dev-i18n@...
https://lists.mozilla.org/listinfo/dev-i18n

Re: File Chooser Dialog returns underscores for extended character set characters

by user-33 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Jeff Osborn wrote:

> When I use a File Chooser Dialog on a file with extended character set
> characters in the path and/or name, those characters end up in my Input
> field as underscores.  I have the meta tags on the page set up as
> follows.....
>
> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
>
> I get Chinese characters to display on the page, and on that other browser
> (i.e.. IE ;) ) I can browse, get the file name and upload the file fine.  I
> can also successfully submit internationalized string data via post using
> FireFox.  I guess my point is that I think I have things set up correctly,
> and I am wondering if I am missing something or if this is a FireFox 1.5
> problem.

Assuming you're trying to upload a file,

Searching Bugzilla
   Summary contains all words: file name
   Product: Core
   Component: HTML: Form Submission

produces some candidate bugs, in particular
https://bugzilla.mozilla.org/show_bug.cgi?id=66041
_______________________________________________
dev-i18n mailing list
dev-i18n@...
https://lists.mozilla.org/listinfo/dev-i18n

Re: File Chooser Dialog returns underscores for extended character set characters

by Jean-Marc Desperrier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

AC wrote:
> Jeff Osborn wrote:
>> When I use a File Chooser Dialog on a file with extended character set
>> characters in the path and/or name, those characters end up in my
>> Input field as underscores.  [...]

> Searching Bugzilla
>   Summary contains all words: file name
>   Product: Core
>   Component: HTML: Form Submission
>
> produces some candidate bugs, in particular
> https://bugzilla.mozilla.org/show_bug.cgi?id=66041

In fact, handling characters outside of the courant local under Windows
was hopeless before Fx 2.0 that includes the fix for bug 162361.
But even after that version, some specific cases seem still broken.
The positive point is that they should now be easy to fix if properly
identified.

This one looks really similar to bug 359148 that was fixed from 2.0.1
upwards. Maybe it's a small variation of bug 359148 that was
unfortunately not covered by the patch of bug 359148.

I think most concerned users are so used to those problems that they
don't really report them.
_______________________________________________
dev-i18n mailing list
dev-i18n@...
https://lists.mozilla.org/listinfo/dev-i18n