UTF8 console line breaking lazarus / 32-Linux ---------------------------------------------------------------------- weq · 2014-01-24 17:02 Hi I have looked a bit on the forum (and google) but haven't found abything The problem is - my console application user wrteinl() to print text i utf8: QuoteTo jest długi string z wieloma polskimi literami ąółżęś kodowany w UTF8, żeby było śmieszniej, haha. These letters with dots etc. are polish regional letters. The console is set (by default) in 80 columns, but when I print my string it breaks as in the quote but it should on "y" i "było". It seems that for every special letter in string i have "blank" at the end of the line. It looks it chop string into 80chars parts and then reduce two-bytes utf8 code into one character. what can i do about it? Regards, Zaqqen PS. Teh system is Lubuntu with LXTerminal ---------------------------------------------------------------------- taazz · 2014-01-24 17:21 convert the utf8 string to ansi before writeln it. ---------------------------------------------------------------------- weq · 2014-01-24 18:01 But then I lost my regional letters. Console is codeing in UTF8 - i'snt that stardard coding in linux terminals? ---------------------------------------------------------------------- taazz · 2014-01-24 18:03 ow linux, I missed that, sorry I don't use it that much and I do not know what peculiarities it has.