Print all character sets?

Started by
2 comments, last by Gink 18 years, 11 months ago
How can I loop through all the char sets? Like all english characters,jap, chinese etc?
Advertisement
Code pages are evil. Use Unicode. Also, you didn't say what Language/API you're using.
Chess is played by three people. Two people play the game; the third provides moral support for the pawns. The object of the game is to kill your opponent by flinging captured pieces at his head. Since the only piece that can be killed is a pawn, the two armies agree to meet in a pawn-infested area (or even a pawn shop) and kill as many pawns as possible in the crossfire. If the game goes on for an hour, one player may legally attempt to gouge out the other player's eyes with his King.
All the locales, or all the characters?

For the characters, just setup a unicode character and go from 0 to the top... which I believe is something like 4294967296. Unicode puts all the language characters in one encoding. Wether your font can actually render it, or if the number actually correlates to a symbol... that's another matter.

To determine all locales available, locale -a on a unix machine and the "regional settings" in the control panel on a windows machine should list them.
All the characters, im using C++

how do you set it to print unicode?

This topic is closed to new replies.

Advertisement