mirror of
https://github.com/parchlinux/calamares.git
synced 2025-07-06 05:45:36 -04:00
[users] Construct icu::UnicodeString from QString's utf16 chars directly
This commit is contained in:
parent
48eae463cc
commit
8e07bb00f9
1 changed files with 1 additions and 1 deletions
|
@ -300,7 +300,7 @@ transliterate( const QString& input )
|
|||
return input;
|
||||
}
|
||||
|
||||
auto transliterable = icu::UnicodeString( input.toUtf8().data() );
|
||||
auto transliterable = icu::UnicodeString( input.utf16() );
|
||||
|
||||
transliterator->transliterate( transliterable );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue