[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] Text module test data encodings
From: |
gerel |
Subject: |
Re: [pdf-devel] Text module test data encodings |
Date: |
Tue, 23 Dec 2008 13:40:38 -0800 (PST) |
> Date: Tue, 23 Dec 2008 22:33:33 +0100
> From: address@hidden
>
> Hi Aleks.
>
> > I have finished task #79, the tests compile without errors.
> > But, I have 40 failing test cases due to calling the text API with
> the wrong
> > UTF encoding type for each test data.
> >
> > Aleks could you help me with this ? I attach here the patch from my
> branch so
> > you can see what test cases are failing.
> >
>
> Most of the changes you did are between the INTERACTIVE_DEBUG
> preprocessor conditions, which mean that you want to know the exact data
> stored in the pdf_text_t. Before the opaque pointer change, the
> internals of the pdf_text_t where accessible directly, but now you need
> to use the pdf_text_t API to access the internals. Now, UTF-8 is not the
> encoding used internally by the pdf_text_t: use UTF-32HE instead (Host
> encoded UTF-32, which means UTF-32LE in LE machines and UTF-32BE in BE
> machines, without any extra option (no country/lang or 32-bit NUL suffix).
>
> Do you agree with Gerel's patch, then? Should we install it?
jemarch, I don't agree with my patch :-). I'll send another patch with all test
cases working this week, please wait until then.
cheers
-gerel