Closed
Bug 194618
Opened 22 years ago
Closed 17 years ago
Mail folders names with accented characters have become corrupted when upgrading from Mozilla 1.2.1 to 1.3beta
Categories
(MailNews Core :: Internationalization, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: vargenau, Unassigned)
Details
(Keywords: dataloss, intl, Whiteboard: [adt2])
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3b) Gecko/20030212 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3b) Gecko/20030212 Mail folders names with accented characters have become corrupted when upgrading from Mozilla 1.2.1 to 1.3beta. For instance, "Valérie" became "ValeÃÅrie". Reproducible: Always Steps to Reproduce: 1. Create a folder named "Valérie" with Mozilla 1.2.1 2. Open Mozilla 1.3beta 3. Check to name of the folder Actual Results: The name of the folder became "ValeÃÅrie" Expected Results: The name of the folder should be "Valérie". I also upgraded from Mac OS X 10.2 to Mac OS X 10.2.4 the same day I upgraded from Mozilla 1.2.1 to Mozilla 1.3beta.
Comment 2•21 years ago
|
||
Since Mozilla 1.3b, Mozilla Mail/Newsgroups is uanble to display folders and subfolders named in Japanese. This seems to be caused by the transition from Carbon-based builds to Mach-O builds. This bug happens with a recent nightly build: Mac OS X ver 10.2.4 Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.3) Gecko/20030312 This issue needs an immediate attention, and should be fixed as soon as possible, for this bug prevents Japanese users from using Japanese folders and subfolders in Mozilla.
Flags: blocking1.4a+
Request blocking 1.4a This is critical bug for Japanese Mac OS X users. Related bug: bug 172472
Flags: blocking1.4a+ → blocking1.4a?
Reporter | ||
Comment 4•21 years ago
|
||
This is critical also for French users and I suppose all international users. In my opinion, it should have blocked 1.3 final. See also bug 194616 Regards,
Updated•21 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.4a? → blocking1.4a+
Comment 5•21 years ago
|
||
> A CFM-to-Mach transition issue
let's hope so, maybe the HashIfNecessary code.
Assignee: smontagu → sspitzer
Comment 6•21 years ago
|
||
maybe not NS_MsgHashIfNecessary(), but I am able to reproduce this. on a related note to NS_MsgHashIfNecessary(), see also mozilla\xpcom\ds\nsCRT.h #if defined(XP_MAC) #define FILE_PATH_SEPARATOR ":" #define FILE_ILLEGAL_CHARACTERS "" #elif defined(XP_WIN) || defined(XP_OS2) #define FILE_PATH_SEPARATOR "\\" #define FILE_ILLEGAL_CHARACTERS "/:*?\"<>|" #elif defined(XP_UNIX) || defined(XP_BEOS) #define FILE_PATH_SEPARATOR "/" #define FILE_ILLEGAL_CHARACTERS "" #else #error need_to_define_your_file_path_separator_and_illegal_characters #endif
Updated•21 years ago
|
Flags: blocking1.4a+ → blocking1.4a-
Any relation to bug 199384?
Comment 8•21 years ago
|
||
Marina, could you try this with today's trunk? bug 199384 might have fixed this
Comment 10•21 years ago
|
||
is this a regression? should this be nsbeta1?
Reporter | ||
Comment 11•21 years ago
|
||
The bug is still present in 1.4alpha. I will test with a nightly ASAP (Tuesday 8th of April). Regards,
Comment 12•21 years ago
|
||
At nightly 2003040608 (on Mac OS X 10.2.4), Any decomposed Unicode characters are shown individually.
Comment 13•21 years ago
|
||
See http://developer.apple.com/qa/qa2001/qa1235.html. From that: "This isn't a problem as long as you use system-provided APIs to process text. Apple's APIs correctly handle both precomposed and decomposed Unicode." If the system-provided APIs have that ability, why doesn't our text rendering handle it?
Reporter | ||
Comment 14•21 years ago
|
||
New tests made with : Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.4b) Gecko/20030406 1) when starting this new Mozilla, the folder names still appear corrupted e.g. Valérie appears as ValeÃÅrie 2) It impossible to rename the folder to Valérie 3) It is possible to rename the folder in two steps : first rename it to Valerie, then to Valérie Regards,
Comment 15•21 years ago
|
||
>e.g. Valérie appears as ValeÃÅrie
Could you attach a screen shot? This does not seem to be the decomposed char
problem but not sure because non-Ascii text in bugzilla shown differently based
on the charset.
Comment 16•21 years ago
|
||
Is it possible that a file system path is stored by the 1.2.1 version using a raw path in the (then) system charset?
Comment 17•21 years ago
|
||
I am not sure if the file name for the folder is stored somewhere (in system charset or UTF-8). I think Naving or Seth know about it.
Comment 18•21 years ago
|
||
panacea.dat is full of file paths, which is verboten on the Mac. That's why most everything else uses persistent descriptors. Anyway, when reading these file paths, if it could be determined that the strings are not valid UTF-8, which is what they would be in Mach-O build, they could be assumed to be legacy encodings made by CFM build and mapped. For the IsUTF-8 util, see bug 191541.
Reporter | ||
Comment 19•21 years ago
|
||
Comment 20•21 years ago
|
||
Mail & I18n triage: nsbeta1+/adt2
Comment 22•21 years ago
|
||
I didn't see the problme using today's mozilla build (042903). However, I did see the problem using 040103 build. So it looks like the problem was fixed somehow. Reporter, can you try the latest build and verify this? Thanks. Note: I did not try to figure out the earliest build that fixed the problem.
Reporter | ||
Comment 23•21 years ago
|
||
Hello, I am the reporter. I am sorry, but I am in vacation with only a 56 kbit/s modem, and I will not be able to download a nightly build before mid-May. Regards,
Comment 24•21 years ago
|
||
Marina, can you also try the latest build and see if the problem is fixed? Thanks.
Comment 25•21 years ago
|
||
WFM also on my current trunk build. I created a local folder called "Valérie" with mozilla 1.1. I'm pretty sure that 1.1 vs. 1.2.1 would not make a difference. What may: If the folder was originally created when the machine was running OS9 and/or the system script was not MacRoman. Here's part of my panacea.dat: (98FF3 =/Users/conrad/Library/Mozilla/Profiles/default/huwz5dlv.slt/Mail/Local Fo\ lders/Val$8Erie.msf)(98FF4=Val$C3$A9rie) $8E is eacute in MacRoman. How that's getting converted back to a file since the native charset is UTF-8, I don't know. I'm running 10.2.5. Possible that this update to the OS made some change which falls back to MacRoman if given an invalid UTF-8 string?
Comment 26•21 years ago
|
||
i am seeing the corruption when i migrate the old profile on POP account using 2003050103 build
Comment 27•21 years ago
|
||
> when i migrate the old profile
Can you clarify "migrate?" I thought this bug was about using profiles made with
old CFM mozilla with a current Mach-O mozilla. There's no migration in that
case, just use of the same profile with a newer app.
Comment 28•21 years ago
|
||
well, i am migrating an old profile which was crreated with mozilla 1.1 (or 1.2) (made with old CFM) and i am using now a new file format. I thought we can use this test case. however i can install the old builds (remind me the right date of 1.1 (1.2 ) and upgrade to the newest build
Comment 29•21 years ago
|
||
> i am migrating an old profile which was crreated with mozilla 1.1
There's no migration in that case. The same profiles are used with 1.1 as
current builds. They are the same files - not copied or migrated in any way.
Comment 30•21 years ago
|
||
I'm going to mark it as WORKSFORME, please reopen it if you are able to reproduce it (with a detailed description).
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Comment 31•21 years ago
|
||
i am going to open a new bug for the migration issue (it might be that i created the profile before 7.0).
Comment 32•21 years ago
|
||
i am seeing the corruption after upgrading from 1.1 (i used 20030826 build) to current trunk builds (2003050703). install 1.1 build and upgrade it to the current trunk build, use the same profile: see the corruption of non-ascii chars in folder's name (POP account). reopening
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Comment 33•21 years ago
|
||
Comment 34•21 years ago
|
||
> i am seeing the corruption after upgrading from 1.1 (i used 20030826 build) to
> current trunk builds (2003050703).
>
So you created the profile and the folder in 1.1 right? I think this is a typo,
so is it 20020826 build instead of 2003?
Comment 35•21 years ago
|
||
yes, it's a typo..., it should be 20020826 unless you already have 20030826:-)
Comment 36•21 years ago
|
||
marina, what version of OS X are you running? If not 10.2.5, can you try with that?
Comment 37•21 years ago
|
||
it is 10.1.5, i'll try 10.2.5
Comment 38•21 years ago
|
||
taking, but I'll check with ccarlen when I get to it.
Assignee: cavin → sspitzer
Status: REOPENED → NEW
Updated•20 years ago
|
Product: MailNews → Core
Comment 39•17 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
Comment 40•17 years ago
|
||
Does this bug still matter? Or can we close it out given that Mozilla 1.2.1 hasn't been supported for a *long* time.
Comment 41•17 years ago
|
||
yeah, I'm going to mark WFM - if this is still an issue, there's probably a much newer bug filed on it.
Status: NEW → RESOLVED
Closed: 21 years ago → 17 years ago
Resolution: --- → WORKSFORME
Assignee | ||
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
•