[Lazarus] Compilation aAn unhandled exception

2013-06-03 Thread Ernest V Miller
Hi list! I am working on lazarus desktop gui application. Every 2 or 3 hours of active development after regular writing code and fixing compilation errors I suddenly get main.pas(1,1) Fatal: Compilation aAn unhandled exception occurred at $00010006B1DC : instead of normal success or

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-05-26 Thread Ernest V Miller
I'll bend my knees to fair gods for your health! Martin laza...@mfriebe.de написано 17.05.2013 18:51:53: On 27/03/2013 04:08, Ernest V Miller wrote: I see value of utf8 in russian. And I am absolutely happy. But as soon as I want to use fixed strings, the only way for me to see my native

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Ernest V Miller
Martin laza...@mfriebe.de написано 29.03.2013 10:21:16: Ok, than you have an error that I can not reproduce on my system. I made my observation from reproducing the effects on my system as close as I can get to it. For me GDB never did the ??? thing. Can you generate a log please

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-28 Thread Ernest V Miller
Martin laza...@mfriebe.de написано 28.03.2013 19:58:17: Also in your first example ansi := Utf8ToAnsi('Кукла'); is that cyrillic? Can that be translated into ansi on your system? Have you tried to output the string for i := 1 to length(ansi) do s := s + inttostr(ord(ansi[i]))+', ';

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-27 Thread Ernest V Miller
As you could see in my previous examples, Lazarus shows the content of variable string correctly, no matter how the symbols are encoded. So there is no need in special encoding options in Watches. The point is that when IDE evaluates the string content, there is a difference for it whether the

[Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-26 Thread Ernest V Miller
Hello! As we know, Lazarus is UTF8 friendly. When I want to see a value of a string var in cyrillic, I should convert it to UTF8, else I only get ? in Watches window. For this code function TesterClass.quickTest : Boolean; var utf8, ansi : string; stf : string[50];