Spir, As you seem to know a lot about this working with Unicode, and considering making a UText type. I just thought I would mention mtext http://www.dprogramming.com/mtext.php The intent being the same, so you may want to check that it fails on your test case and possible improve upon it.