Jump to content
  • Advertisement
Sign in to follow this  
Gink

Print all character sets?

This topic is 4795 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How can I loop through all the char sets? Like all english characters,jap, chinese etc?

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
All the characters, im using C++

how do you set it to print unicode?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!