trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

Re: [trinity-devel] What is more correct?

From: /dev/ammo42 <mickeytintincolle@...>
Date: Wed, 7 Sep 2011 14:56:43 +0200
Le Wed, 7 Sep 2011 15:33:03 +0400,
Ilya Chernykh <anixxsus@...> a écrit :

> UTF-8 support in Ark.
> 
> Trinity:
> 
> columns[ curCol->colRef ] = unicode_line.mid( strpos, len );
> 
> vanilla KDE 3.5.10 (openSUSE):
> 
> columns[curCol->colRef] = QString::fromLocal8Bit( line.mid(strpos,
> len) );
> 
> KDE 3.5.7 (as was in Trinity before the patch, also in Chakra):
> 
> columns[ curCol->colRef ] = line.mid( strpos, len );
> 
> I wonder whether the openSUSE's solution is better than that in
> Trinity?
The first solution seems better to me (avoids Unicode conversion).
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> trinity-devel-unsubscribe@... For additional
> commands, e-mail: trinity-devel-help@... Read
> list messsages on the Web archive:
> http://trinity-devel.pearsoncomputing.net/ Please remember not to
> top-post:
> http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
>