Closed Bug 488426 Opened 15 years ago Closed 15 years ago

enable TIS-620 detector

Categories

(Core :: Internationalization, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: hiro, Assigned: hiro)

Details

Attachments

(2 files, 1 obsolete file)

Attached patch A patch (obsolete) — Splinter Review
extensions/universalchardet/src/base/LangThaiModel.cpp seems to be excluded building source file on Windows. I don't know why, but I found a missing line in nsSBCharSetProber.h.

The patch makes building fine on Windows XP.
Comment on attachment 372803 [details] [diff] [review]
A patch

Simon, could you please take a look into this?
Attachment #372803 - Flags: review?(smontagu)
Looks reasonable, but there still won't be any autodetection of Thai unless you add a prober in nsSBCSGroupProber::nsSBCSGroupProber.
I did not notice nsSBCSGroupProber::nsSBCSGroupProber.

The patch includes test case for TIS-620 detector. TIS-620 string in test case was copied from http://en.wikipedia.org/wiki/TIS-620 and convert it with iconv.
Attachment #372803 - Attachment is obsolete: true
Attachment #374205 - Flags: review?(smontagu)
Attachment #372803 - Flags: review?(smontagu)
Summary: build LangThaiModel.cpp on Windows → enable TIS-620 detector
Comment on attachment 374205 [details] [diff] [review]
Revised patch with test

Don't you need both patches? Why did you obsolete the previous one?
Attachment #374205 - Flags: review?(smontagu) → review+
Attached patch Makefile.in fixSplinter Review
Oops! I forgot to include diff of Makefile.in.
Assignee: smontagu → ikezoe
Status: NEW → ASSIGNED
Attachment #377127 - Flags: review?(smontagu)
Attachment #377127 - Flags: review?(smontagu) → review+
Keywords: checkin-needed
Pushed.

http://hg.mozilla.org/mozilla-central/rev/a3a6183d5a22
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: