Closed
Bug 353039
Opened 19 years ago
Closed 19 years ago
2006091405 NB: Text encoding doesn't work, autodetect also broken
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sugar.waffle, Assigned: alqahira)
References
()
Details
(Keywords: intl)
Attachments
(2 files, 1 obsolete file)
5.43 KB,
patch
|
mark
:
superreview+
|
Details | Diff | Splinter Review |
1.50 KB,
patch
|
sfraser_bugs
:
superreview+
|
Details | Diff | Splinter Review |
Even if a correct character-code is chosen like URL and the following page, etc. on the page to which an appropriate character-code is not set, it is not reflected.
http://hidenosuke.org/
Reproducible: Always
Steps to Reproduce:
1. Create new profile
2. Open URL
3. Select View --> Text Encoding --> Unicode(UTF-8)
Actual Results:
Even if a correct character-code is chosen, it is not correctly displayed.
2006091405 (v1.2+): NG
2006091222 (v1.2+): OK
Mac OS X 10.3.9
Assignee | ||
Comment 1•19 years ago
|
||
Confirming. Not only does manually changing the encoding not work, but autodetect doesn't work, either.
Regression range: http://tinyurl.com/lczso
My first guess is bug 351856 (although I suppose it's possible it was bug 352180 instead)
Do we merely need to add libchardet.dylib to the project somewhere? I can look at kicking the project for this later tonight if so, but I've never done this type of file addition before.
Assignee | ||
Updated•19 years ago
|
Comment 2•19 years ago
|
||
I'd say bug 351856, yes.
Comment 3•19 years ago
|
||
sorry about that. I don't know how the camino stuff here works, but my understanding is that adding that lib should suffice. It's a component in case that makes a difference.
Assignee | ||
Comment 4•19 years ago
|
||
Taking; I've got the non-static build fixed ;)
Assignee: nobody → alqahira
Assignee | ||
Comment 5•19 years ago
|
||
Going to see if I can get someone to check whether this fixes the static build first....
Assignee | ||
Comment 6•19 years ago
|
||
Comment on attachment 239120 [details] [diff] [review]
possible patch
This apparently doesn't fix the static build, and I'm not sure where to go from here....
Attachment #239120 -
Attachment is obsolete: true
Assignee | ||
Comment 7•19 years ago
|
||
I should have known by now...nsStaticComponents.cpp needed some love to fix the static build. I built static last night, just rebuilt it with this patch, and the static build now works for me.
Attachment #239231 -
Flags: superreview?(mark)
Assignee | ||
Comment 8•19 years ago
|
||
Comment on attachment 239231 [details] [diff] [review]
Project + nsStaticComponents.cpp
jcraig (Intel opt-builder) built with this tonight, and text encoding stuff was working again there, too.
Comment 9•19 years ago
|
||
I'm tempted to mark this a blocker; this is a huge issue for anyone using non-ASCII characters (especially users with other alphabets than latin).
Simon, Mike and Mark, can someone please review the fix?
Comment 10•19 years ago
|
||
Comment on attachment 239231 [details] [diff] [review]
Project + nsStaticComponents.cpp
>+ DEDDE3310ABFB7E500D415F2 = {
>+ explicitFileType = archive.ar;
>+ isa = PBXFileReference;
>+ name = libchardet.a;
Change this to:
+ isa = PBXFileReference;
+ lastKnownFileType = archive.ar;
+ name = libchardet.a;
and sr=me
Attachment #239231 -
Flags: superreview?(mark) → superreview+
Comment 11•19 years ago
|
||
Checked in (with mento's review comment addressed). Unless something burns, close this after both static and normal builds have cycled.
Comment 12•19 years ago
|
||
Any plans to move to Xcode 2.3? It annotates project contents to make project diffs much easier to understand.
Assignee | ||
Comment 13•19 years ago
|
||
maya is red because unify is complaining:
/builds/tinderbox/CmTrunk/Darwin_8.6.0_Depend/mozilla/build/macosx/universal/unify: copyIfIdentical: files differ:
../build/ppc/dist/camino/Camino.app/Contents/Resources/libchardet.a,
../build/i386/dist/camino/Camino.app/Contents/Resources/libchardet.a
make[1]: *** [postflight_all] Error 1
I'm not sure how that's ending up in Contents/Resources at all; none of the other files listed with it (in Gecko Static Components, or in the Frameworks and Libraries section--the other Gecko Static Components .a files--in the target) get copied anywhere.
Assignee | ||
Comment 14•19 years ago
|
||
This should fix the bustage; Xcode in its infinite wisdom added the file to the the Resources list (and the find/filtering in Xcode sucks :P)
Updated•19 years ago
|
Attachment #239751 -
Flags: superreview+
Updated•19 years ago
|
Keywords: fixed1.8.1
Comment 15•19 years ago
|
||
Comment on attachment 239751 [details] [diff] [review]
bustage fix (i hope)
mozilla/camino/Camino.xcode/project.pbxproj 1.137
Comment 16•19 years ago
|
||
I'm seeing this with
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; chrome://navigator/locale/navigator.properties; rv:1.9a1) Gecko/20060926 Camino/1.2+
Which should have contained the fix.
Anyone else seeing this?
You need to log in
before you can comment on or make changes to this bug.
Description
•