https://issues.apache.org/ooo/show_bug.cgi?id=125495

--- Comment #1 from Mark Hung <[email protected]> ---
Created attachment 83881
  --> https://issues.apache.org/ooo/attachment.cgi?id=83881&action=edit
Patch to fix Chinese numbering suffix issue in RTF parser


Because codepage encoding options like \ansicp950 appears later than the first
bracket '{', the first parsing state has been pushed into the stack before
correct encoding were set. Later when it was popped, the encoding of later
state were affected and become the default even if \ansicp950 already appears,
in consequence it affect multibyte string conversion for text token. Updated
code will overwrite the encoding of the state on top of the frame, and has
verified to work in my environment.

In theory , all multibyte chracter encoding ( not merely ZH-TTW) were affected.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to