get_uformat(3alleg4) linux man page | unix.com

Man Page: get_uformat

Operating Environment: linux

Section: 3alleg4

get_uformat(3alleg4)						  Allegro manual					      get_uformat(3alleg4)

NAME
get_uformat - Finds out what text encoding format is currently selected. Allegro game programming library. SYNOPSIS
#include <allegro.h> int get_uformat(void); DESCRIPTION
Finds out what text encoding format is currently selected. This function is probably useful only if you are writing an Allegro addon deal- ing with text strings and you use a different codepath for each possible format. Example: switch(get_uformat()) { case U_ASCII: do_something(); break; case U_UTF8: do_something_else(); break; ... } RETURN VALUE
Returns the currently selected text encoding format. See the documentation of set_uformat() for a list of encoding formats. SEE ALSO
set_uformat(3alleg4) Allegro version 4.4.2 get_uformat(3alleg4)
Related Man Pages
need_uconvert(3alleg4) - debian
set_uformat(3alleg4) - debian
set_uformat(3alleg4) - php
need_uconvert(3alleg4) - v7
set_uformat(3alleg4) - osx
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Status of UNIX.COM Forum Transformation
Answers to Recently Asked Questions about UNIX.COM
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!