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)

PowerPC
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sugar.waffle, Assigned: alqahira)

References

()

Details

(Keywords: intl)

Attachments

(2 files, 1 obsolete file)

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
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.
Severity: normal → major
Status: UNCONFIRMED → NEW
Depends on: 301740
Ever confirmed: true
Keywords: intl
Summary: 2006091405 NB: Text encoding doesn't work. → 2006091405 NB: Text encoding doesn't work, autodetect also broken
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.
Taking; I've got the non-static build fixed ;)
Assignee: nobody → alqahira
Attached patch possible patch (obsolete) — Splinter Review
Going to see if I can get someone to check whether this fixes the static build first....
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
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)
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.
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 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+
Checked in (with mento's review comment addressed). Unless something burns, close this after both static and normal builds have cycled.
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Any plans to move to Xcode 2.3? It annotates project contents to make project diffs much easier to understand.
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.
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)
Attachment #239751 - Flags: superreview+
Comment on attachment 239751 [details] [diff] [review] bustage fix (i hope) mozilla/camino/Camino.xcode/project.pbxproj 1.137
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.

Attachment

General

Created:
Updated:
Size: