Hi i have one question about this example:
I could use other conversion for the text different toLatin1????QByteArray array;
array = ui->textocuenta->text().toLatin1();
Hi i have one question about this example:
I could use other conversion for the text different toLatin1????QByteArray array;
array = ui->textocuenta->text().toLatin1();
Yes, QString has built in conversions for "latin1" (western european charset), "utf8" and "local 8 bit" (depends on local settings).
An even wider range of encodings can be done through QTextCodec.
Cheers,
_
pls can you take me a exampel of this:
datoss = "|@|" + ui->textocuenta->text().toLatin1() + "|@|";
with qtextcode. thanks in advance. I need because i need to avoid this conversion.
The QTextCodec equivalent of
isQt Code:
To copy to clipboard, switch view to plain text mode
Qt Code:
To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks