Closed Bug 90414 Opened 23 years ago Closed 7 years ago

nsBufferDecoderSupport is buggy while the block size is 1

Categories

(Core :: Internationalization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla56

People

(Reporter: ftang, Assigned: hsivonen)

References

Details

(Whiteboard: [fixed by encoding_rs])

this is spin off from 75707

We have block bundary problem in nsBufferDecoderSupport. 
Reproduce proceduer
1. Select view:Character Coding: More East Asian: Chinese Simplified (HZ)
or Any other Chinese/Korean/Japanese multibyte charset
2. visit 
http://205.217.237.188/u/ftang/utf8test/buffer.cgi?count=10&sleep=0.5&size=1

expect result:
all the line display the same way regardless the block size
actual result:
some characters are display incorrectly
I think this is less important but should fix in the future.
This is less important because it is only happen while the size is 1 and IE work
worst than us now. 
I test with bracnh.
After I fix 75707, the following charset have no problem
EUC-KR, EUC-TW

the following charset still have problem
UTF-8 
BIG5
SJIS
EUC-JP
GB2312
GB18030
GBK



QA Contact: andreasb → ylong
shanjian- can you take a look at this one?
Assignee: ftang → shanjian
Status: NEW → ASSIGNED
frank, please be more specific about what need to be done. GBK and HZ seems 
working OK. Charset like Big5 is also using nsUnicodeDecodeHelper, why we still 
have problem after your fix in 75707? Let me know what you already knew and I 
will finish it. 
Set target. 
Target Milestone: --- → mozilla0.9.7
Target Milestone: mozilla0.9.7 → mozilla1.0
Target Milestone: mozilla1.0 → mozilla1.0.1
Blocks: 187812
Assignee: shanjian → smontagu
No longer blocks: 187812
Status: ASSIGNED → NEW
QA Contact: amyy → i18n
Depends on: encoding_rs
Fixed by bug 1261841 at the latest.
Assignee: smontagu → hsivonen
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by encoding_rs]
Target Milestone: mozilla1.0.1 → mozilla56
You need to log in before you can comment on or make changes to this bug.