Closed Bug 107941 Opened 23 years ago Closed 22 years ago

Need to handle filenames in Unicode on multilingual OS's

Categories

(MailNews Core :: Internationalization, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 172337
mozilla1.2beta

People

(Reporter: momoi, Assigned: tetsuroy)

References

(Blocks 1 open bug)

Details

(Keywords: intl, Whiteboard: [eta:8/16/2002])

** Observed with 10/31/2001 Win32 trunk build **

This is a companion bug to Bug 52428. 
Under multilingual OSs like Win2000, NT4, WinXP, Mac OSX, etc., 
the file names are not restricted to those supported in the 
locale encoding. Thus, on a Japanese OS, you might have a file
name in Latin 1. Since the operating system allows for this,
then in attaching such files, we should be able to handle it 
equally well in Mail. 
In Bug 52428, I proposed the following:

1. On OS's which support both system encoding and Unicode for filenames,
   e.g. Win2000, WinXP, and maybe Win NT4, 
   
   a) Check if the filename encoing can be supported in the chosen 
      mail-send encoding. If so, encode the filename with that encoding.
   b) Otherwise, fall back to UTF-8.

This part was not included in the fix for Bug 52428. 
This bug is filed to address the above proposal.

nhotta mentions that we need to have a general way of 
handling such filenames. Simialr issues are also discussed in
Bug 58866.
Depends on: 108000
No longer depends on: 108000
Blocks: 108000
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Target Milestone: mozilla0.9.9 → mozilla1.2
Blocks: 119246
*** Bug 143332 has been marked as a duplicate of this bug. ***
Blocks: 39757
*** Bug 146541 has been marked as a duplicate of this bug. ***
*** Bug 146556 has been marked as a duplicate of this bug. ***
Blocks: 141623
Blocks: 157673
reassign to yokoyama
Assignee: nhotta → yokoyama
Status: ASSIGNED → NEW
taking
Status: NEW → ASSIGNED
nsbeta1+ for m1.2final release
eta:8/16/2002
Keywords: intl, nsbeta1+
Whiteboard: [eta:8/16/2002]
Target Milestone: mozilla1.2alpha → mozilla1.2beta
I think this is a duplicate of 172337 and possibly 104934
(I think the mac os is also logged.)

*** This bug has been marked as a duplicate of 172337 ***
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Depends on: 104934, 172337
Resolution: --- → DUPLICATE
Depends on: 180372
No longer blocks: 157673
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.