[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issue with NSDateFormatter on Windows with ICU...
From: |
Richard Frith-Macdonald |
Subject: |
Re: Issue with NSDateFormatter on Windows with ICU... |
Date: |
Tue, 27 Nov 2012 18:25:19 +0000 |
On 27 Nov 2012, at 18:18, Gregory Casamento wrote:
>
> Here is what is being sent....
>
> (gdb) p *(NSDateFormatterInternal *)_internal
> $3 = {{isa = 0x6702f740}, _behavior = 0, _locale = 0x41f9a28,
> _tz = 0x278ce08, _timeStyle = 0, _dateStyle = 0, _formatter = 0x0}
> (gdb) p NSToUDateFormatStyle(0)
> $4 = -1
> (gdb) po ((NSDateFormatterInternal *)_internal)->_locale
> en_US
> (gdb) p tzID
> $6 = (
> UChar *) 0x4202b80 "E\000a\000s\000t\000e\000r\000n\000
> \000S\000t\000a\000n
> \000d\000a\000r"
The thing that strikes me instantly is that we are looking at unicode (16bit
characters).
Could it be that the ICU library routine is expecting ascii or utf-8, but
because windows uses 16bit characters natively it's getting confused?
If so, that would be easy to fix.
- Issue with NSDateFormatter on Windows with ICU..., Gregory Casamento, 2012/11/27
- Re: Issue with NSDateFormatter on Windows with ICU..., Stefan Bidi, 2012/11/27
- Re: Issue with NSDateFormatter on Windows with ICU..., Richard Frith-Macdonald, 2012/11/27
- Re: Issue with NSDateFormatter on Windows with ICU..., Gregory Casamento, 2012/11/27
- Re: Issue with NSDateFormatter on Windows with ICU..., Stefan Bidi, 2012/11/27
- Re: Issue with NSDateFormatter on Windows with ICU..., Gregory Casamento, 2012/11/27
- Re: Issue with NSDateFormatter on Windows with ICU...,
Richard Frith-Macdonald <=
- Re: Issue with NSDateFormatter on Windows with ICU..., Stefan Bidi, 2012/11/27
- Re: Issue with NSDateFormatter on Windows with ICU..., Gregory Casamento, 2012/11/27
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Fwd: Issue with NSDateFormatter on Windows with ICU..., Gregory Casamento, 2012/11/28
- Re: Fwd: Issue with NSDateFormatter on Windows with ICU..., Stefan Bidi, 2012/11/28
- Re: Fwd: Issue with NSDateFormatter on Windows with ICU..., Gregory Casamento, 2012/11/28