text - Is there a simple example on iconv transliteration of from-language-to-language for c? -


say have simple scenario, string of language, french.

and want french converted ascii in transliterated form.

how can done in c in simplest way?

also there's different way, irrelevant iconv, ideally multiplatform?

if want multiplatform, iconv not right tool. transliteration gnu-specific extension. in general, transliteration hard problem, , gnu iconv implementation sufficient trivial cases. how non-ascii character gets transliterated not property of character of language of text , how it's being used. instance, should "日" become "ri" or "ni" or else entirely? or if want stick latin-based languages, should "ö" become "o" or "oe"? expanding other non-latin scripts, transliterating indic languages straightforward, transliterating thai requires reordering of characters , transliterating tibetan requires parsing whole syllables , identifying letters in root/prefix/suffix/etc. roles.

in opinion, best answer "how transliterate ascii?" most software programs is: don't. instead fix whatever bugs or intentionally-english-centric policies made want ascii in first place. software should doing transliteration highly-linguistically-aware software facilitating search or interpretation of texts not in user's own native language.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -