qchar Questions

4

Solved

I want to detect if the user has inputted a non-ASCII (otherwise incorrectly known as Unicode) character (for example, り) in a file save dialog box. As I am using Qt, any non-ASCII characters are p...
Dystrophy asked 7/1, 2014 at 20:23

3

Solved

I have an application that is supposed to deal with all kinds of characters and at some point display information about them. I use Qt and its inherent Unicode support in QChar, QString etc. Now I...
Element asked 7/8, 2011 at 12:41

1

Solved

I need to get the ASCII code from a QChar. In Qt 5.2 QChar::ToAscii has been removed. Here is my code. How can I get the ASCII code? QString data; int key; key = data.at(i);
Torgerson asked 30/12, 2013 at 14:53

1

Solved

In C++ there is a way to cast a char to int and get the ascii value in return. Is there such a way to do the same with a qchar? Since unicode supports so many characters and some of them are actual...
Albric asked 21/8, 2013 at 17:56
1

© 2022 - 2024 — McMap. All rights reserved.