On sexta-feira, 15 de junho de 2012 12.19.27, Rui Maciel wrote: > With C++11, UTF-16 strings are supported through the std::u16string > type, which is a typedef for basic_string<char16_t>.
That's great. Except that the standards people often forget the most basic things should be easy... Here's one they forgot. Please fill in the blank: #include <string> int main(int argc, char **argv) { std::u16string s = __________ (argv[1]); } I'm looking for the equivalent of QString::fromLocal8Bit(). -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest