[prev in list] [next in list] [prev in thread] [next in thread] 

List:       icu4c-support
Subject:    RE: How to get Programmatically  all available codePage?
From:       Yves Arrouye <yves () realnames ! com>
Date:       2002-05-09 21:01:37
[Download RAW message or body]

> you can do it with
> ucnv_countAvailable() and ucnv_getAvailableName() APIs
> 
> int32_t  n = ucnv_countAvailable();
> int32_t  i=0;
> printf("Available codepages are: \n");
> for(;i<n;i++){
>     printf( "%i) %s\n", i,ucnv_getAvailableName(i));
> }

And if you want all names for a given codepage too, look at
ucnv_getAliases().
YA

_______________________________________________
icu4c-support@oss.software.ibm.com - icu4c-support mailing list
To Un/Subscribe:
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu4c-support
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic