Exception in (0): invalid utf8 input
yidabu.spam at gmail.com
Sat Nov 29 02:49:06 PST 2008
On Sat, 29 Nov 2008 10:57:04 +0100
Frank Benoit <keinfarbton at googlemail.com> wrote:
> yidabu schrieb:
> > My application( contains Chinese ) some times causes Exception in
> > (0): invalid utf8 input , I find that it's from
> > dwt.dwthelper.utils.getAbsoluteCodePointOffset
> > getAbsoluteCodePointOffset, I failed to debug this exception by ddbg,
> > I don't isue it's my application issue or dwt issue, any body help?
> A short example for error reproduction would be a perfect help.
> Or can you see from where the getAbsoluteCodePointOffset got called from
> or with what parameters?
> If nothing else works, you can use tango.util.log.Trace to hexdump the
> arguments with Trace.memory.
> So the question is, is getAbsoluteCodePointOffset wrong, or is it called
> with invalid args.
Seems exception on ApplicationWindow.setStatus(longerUtf8Str);
dwt split longerUtf8str to invalid Chinese characters I guess.
yidabu <yidabu.spam at gmail.com>
D 语言-中文(D Chinese):
More information about the Digitalmars-d-dwt