Exception in (0): invalid utf8 input

Frank Benoit keinfarbton at googlemail.com
Sat Nov 29 03:10:39 PST 2008


yidabu schrieb:
> On Sat, 29 Nov 2008 17:42:14 +0800
> yidabu <yidabu.spam at gmail.com> wrote:
> 
> I'm sure it's valid utf8 characters, exception when ApplicationWindow.setStaus(utf8Str);

With this few information it is hard to help.

Can you give me an example of the input string, so i can try to find out
what is the problem?

for example put this at the start of getRelativeCodePointOffset:

    Trace.formatln( "str={}, startIndex={}, searchRelCp={}", str,
startIndex, searchRelCp );
    Trace.memory( str );

and post the output.

Also using the stacktrace enabled tango lib from team0xf can help.


More information about the Digitalmars-d-dwt mailing list