PDA

View Full Version : Displaying all characters in text edit



chadkeck
16th September 2008, 17:47
Hi all, I'm trying to make all characters visible in a text edit. Like how "symbols" in Microsoft Word can be turned on and all spaces are shown (as dots).

I was wondering how this could work in Qt's QTextEdit or another similar class?

Thanks

patrik08
17th September 2008, 01:48
Hi all, I'm trying to make all characters visible in a text edit. Like how "symbols" in Microsoft Word can be turned on and all spaces are shown (as dots).
I was wondering how this could work in Qt's QTextEdit or another similar class?
Thanks

QTextEdit write utf-8 if you having china font you can write it...
You must only know codec and nummer...

On qt 4.0 example is one find it...

The best way you make a model table to any codec. a table to click..
and on QChar(unicode) you fill all cell..

the nummer you can find by:
http://www.unicode.org/charts/
http://de.selfhtml.org/inter/zeichenkodierungen.htm