This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: faster printing of QStrings


Hello,

> Thanks for posting this, but it only prints the ASCII characters, the
> rest is displayed as octal escapes.  Wouldn't it be better to send
> UTF-8 encoding to the terminal?  Then the non-ASCII characters will
> also be displayed in a human-readable form.

Hmm, never had non-ascii nor non-latin15 characters, so it didn't bother 
me... But since I don't have an UTF-8 environment here ( well, maybe 
sometimes... ), displaying non-ascii characters directly wouldn't help me.
 
> > Works fine - except that it takes ages (25s) !
> 
> For Qstring's of what length?

For the string that I have posted (61 chars) :
kopierer akzeptiert Anfragen seit Mo 19 Feb 2007 13:27:28 CET

cu
Markus


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]