trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

What is more correct?

From: Ilya Chernykh <anixxsus@...>
Date: Wed, 7 Sep 2011 15:33:03 +0400
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?