rlvmain: unicode and formatting