Lazarus uses only UTF-8. If you are using something different, then you need to convert. The conversion can be done before putting it to the Lazarus controls, there are tons of conversions routines in the unit lconvencoding in the LCL. Check there are use the correct conversion routine. It should be called SomethingToUTF8 where Something should match the encoding in the file.