version 1.38, 2014/10/28 17:36:19 |
version 1.39, 2014/10/28 18:49:33 |
|
|
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
|
#include <assert.h> |
#if HAVE_WCHAR |
#if HAVE_WCHAR |
#include <locale.h> |
#include <locale.h> |
#endif |
#endif |
Line 337 ascii_uc2str(int uc) |
|
Line 338 ascii_uc2str(int uc) |
|
"j", "DZ", "Dz", "dz", "'\bG", "'\bg", "HV", "W", |
"j", "DZ", "Dz", "dz", "'\bG", "'\bg", "HV", "W", |
"`\bN", "`\bn", "A", "a", "'\bAE","'\bae","O", "o"}; |
"`\bN", "`\bn", "A", "a", "'\bAE","'\bae","O", "o"}; |
|
|
if (uc < 0) |
assert(uc >= 0); |
return("<?>"); |
|
if ((size_t)uc < sizeof(tab)/sizeof(tab[0])) |
if ((size_t)uc < sizeof(tab)/sizeof(tab[0])) |
return(tab[uc]); |
return(tab[uc]); |
return(mchars_uc2str(uc)); |
return(mchars_uc2str(uc)); |