solid i18n krazy2 patch

Andras Mantia amantia at kde.org
Fri Jan 23 21:17:04 GMT 2009


On Friday 23 January 2009, Stefan Majewsky wrote:
> I learned that it is better to instantiate such string constants
> through the QLatin1String constructor, because that bypasses the
> complex UTF-8 parsing. Can anyone confirm this?


Yes, use QLatin1String if the string doesn't need to be translated. 
Otherwise use i18n() (or its variants).

Andras





More information about the kde-core-devel mailing list