Has anyone any experience with Text::Wrap and wrapping languages other than Roman-based languages? I'm sure it works fine for English (where the definition of "fine" may vary from person to person), and probably fine for other Roman-letter-based languages, such as French or Italian or Portuguese, etc.. However, I'm more curious about anyone having experience with it in other languages, such as Russian, Hebrew, Arabic, Hindi, and, what seems to me to be the killer, Asian languages such as Chinese (Simplified or Traditional), Korean, Japanese. (Ok, I realise that Hindi is an Asian language, but I'm not sure whether its glyphs are single-sounded, like Roman glyphs, or are syllabic, like Chinese.)
What would seem useful to me is a wrapper around Locale::Maketext that would automatically wrap the text based on the current screen width (to be determined separately). This would allow the developer (and translator) to ignore line lengths in most circumstances (especially for corner cases where the text, after variable interpolation, would end up near the normal 80-character limit).
If you have experience with other formatting modules, such as Text::Autoformat (is that even a Damian-approved Damian module?), with other languages, I'd like to hear those, too. Since I don't actually have any Chinese text to play with, and even if I did, I wouldn't be able to tell if the formatting made sense or not, I'm looking for some broader experience.
Thanks,
In reply to Text::Wrap and non-Roman languages by Tanktalus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |