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
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
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
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]))+', ';
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
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];