UTF handling for MLR output