On Thu, 18 Sep 2003 12:37:00 +0930
(Subject: LabelRecord Uncompressed)
"Height, Jason" <[EMAIL PROTECTED]> wrote:


> On the head I get some weird strings for uncompressed label records due to
> the following code:

>               field_6_value = StringUtil.getFromUnicodeBE(data, 9 + offset,
>                                                         field_4_string_len);

> Now I think that this should be (well this causes it to work):
>                field_6_value = StringUtil.getFromUnicodeLE(data, 9 + offset,
>                                                         field_4_string_len);

> Or is that only because I am testing on a LE machine. I thought that the
> byte swapping was handled at a much lower level.

> I know that a lot of this stuff changed during my absence, Should I change
> this to LE ??

Agreed.

__ Tetsuya <[EMAIL PROTECTED]> __


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to