Hi thanks for all the replies. The GER- and JAP- is just the computer name and is user defined and has no replationship with the actual encoding of the log line. I have no control of the log file because it is given as an output form some other program. .... :<