double byte character convertion