printf "%*vd\n", " ", $str;
Update: you might want to chose some better title for your question, as the current one (String to UTF-8) has nothing to do with the question.
In reply to Re: String to UTF-8
by ambrus
in thread String to UTF-8
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |