Re: Re: [lazarus]

2008-01-12 Thread Felipe Monteiro de Carvalho
2008/1/12 Vasily I. Volchenko <[EMAIL PROTECTED]>: > >This will find the string even in strings and comments. > Yes. This won't be useful in future when all widgetsets will be in one > encoding AND/OR when there will be another mechanism to translate .lfm files > (this hack is a bad idea, I agree

Re: Re: [lazarus]

2008-01-11 Thread Vasily I. Volchenko
>This will find the string even in strings and comments. Yes. This won't be useful in future when all widgetsets will be in one encoding AND/OR when there will be another mechanism to translate .lfm files (this hack is a bad idea, I agree, but it WORKS). May be LFM comments? Besides, placing {%e

Re: Re: Re: Re: [lazarus] GTK2 didn't display non-UTF8 characters

2007-12-30 Thread Vasily I. Volchenko
>Does it means that the source of all current projects for Win32 should >be reedited? What is reediting? Let's classify all problems of such changes: 1. Source problem (both national comments and string constants). It will be possible to fix this with my patch only by including {&encoding=ANSI}in

Re: Re: [lazarus] GTK2 didn't display non-UTF8 characters

2007-12-30 Thread Vasily I. Volchenko
OK. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: Re: Re: [lazarus] GTK2 didn't display non-UTF8 characters

2007-12-30 Thread 12 12
* "Vasily I. Volchenko" <[EMAIL PROTECTED]> [Sat, 29 Dec 2007 21:42:35 +0300]: Seems like that. May be it can be possible to use/write such a translation functions, but at present - neither they are compatible in the source using "high char" comments/strings nor in reading non-utf texts. I notice

Re: Re: Re: [lazarus] GTK2 didn't display non-UTF8 characters

2007-12-29 Thread Vasily I. Volchenko
Seems like that. May be it can be possible to use/write such a translation functions, but at present - neither they are compatible in the source using "high char" comments/strings nor in reading non-utf texts. I noticed that this is not acceptable - the answer is that win32 will be moved to UTF8

Re: Re: [lazarus] GTK2 didn't display non-UTF8 characters

2007-12-29 Thread 12 12
* "Vasily I. Volchenko" <[EMAIL PROTECTED]> [Sat, 29 Dec 2007 19:29:19 +0300]: It's a known problem, Win32 (for now except for compiled with option -dWindowsUnicodeSupport or something like it) and gtk-1 interfaces use native 1-byte encoding while gtk2 interface uses utf8 anyway (even if LANG=ru_

Re: Re: [lazarus] GTK2 didn't display non-UTF8 characters

2007-12-29 Thread Vasily I. Volchenko
It's a known problem, Win32 (for now except for compiled with option -dWindowsUnicodeSupport or something like it) and gtk-1 interfaces use native 1-byte encoding while gtk2 interface uses utf8 anyway (even if LANG=ru_RU.CP1251). _

Re: Re: [lazarus]

2007-11-25 Thread Felipe Monteiro de Carvalho
On Nov 25, 2007 6:04 PM, Vasily I. Volchenko <[EMAIL PROTECTED]> wrote: > Besides, in current implementation UTF8 might have a disadvantage with > 2-byte+ encodings. Those encodings are in WideString format, and conversion > to old string can be done either automatically or via special procedures

Re: Re: [lazarus]

2007-11-25 Thread Vasily I. Volchenko
Besides, in current implementation UTF8 might have a disadvantage with 2-byte+ encodings. Those encodings are in WideString format, and conversion to old string can be done either automatically or via special procedures (as it seems to be on kylix). UTF8 is implemented as a string. It has some a

Re: Re: Re: [lazarus]: utf8 or not necessury?

2007-11-24 Thread Felipe Monteiro de Carvalho
On Nov 24, 2007 5:49 PM, Vasily I. Volchenko <[EMAIL PROTECTED]> wrote: > This is only about unicode text files. Can you imagine that BOM will be in a > text file given to pascal compiler? A source code is a text file. Free Pascal is already prepared to handle source code including a BOM marker.

Re: Re: Re: [lazarus]: utf8 or not necessury?

2007-11-24 Thread Vasily I. Volchenko
This is only about unicode text files. Can you imagine that BOM will be in a text file given to pascal compiler? _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://ww

Re: Re: [lazarus]: utf8 or not necessury?

2007-11-24 Thread Felipe Monteiro de Carvalho
On Nov 24, 2007 5:24 PM, Vasily I. Volchenko <[EMAIL PROTECTED]> wrote: > I said not just about text files in IDE (it is not really interesting), but > about pascal project files. Where to store encoding? How to store the encoding is something well stablished by international standards: http://e

Re: Re: [lazarus]: utf8 or not necessury?

2007-11-24 Thread Vasily I. Volchenko
I said not just about text files in IDE (it is not really interesting), but about pascal project files. Where to store encoding? It is a good question. The easiest way is to add a string to the .lpi file which either contains the locale of all the project (but it is not so easy to completely con

Re: Re: Re: [lazarus]

2007-11-22 Thread Vasily I. Volchenko
OK, I understand the problems of using utf8 on windows, but I am speaking about other things. Why lazarus should save (and load) pascal (and only pascal, not lfm/lrs, not po) files in the internal encoding? If gtk2 version supports utf8, it forces user to save all files in utf8, when if windows

Re: Re: [lazarus]

2007-11-22 Thread Felipe Monteiro de Carvalho
On Nov 22, 2007 12:46 PM, Vasily I. Volchenko <[EMAIL PROTECTED]> wrote: > At last, the fact that Lazarus compiled for windows, uses ansi (cp1251) while > lazarus for linux uses UTF-8 is completely inacceptible. Read the Manual (which in our case means wiki): http://wiki.lazarus.freepascal.org/L

Re: Re: [lazarus]

2007-11-22 Thread Vasily I. Volchenko
Why not? Course, it is supported. But... At first, double size increasing makes it sensitive (especially in mob.phones). But it is the least problem. Traditionally one symbol is considered as 1 byte (it is more than enough for latin and cyrillic), it makes many incompartibilities with a good old

Re: Re: [lazarus]

2007-11-21 Thread Vasily I. Volchenko
I'll change it (but it is a bad idea to save text files only in utf-8 in linux, but in ansi in windows, besides, utf8 is very rarely used in final Russian files, when for internal functions it is well). Lazarus-ccr may be a good place (it is in one of my sf.net projects, but it is a little part)

Re: Re: [lazarus] Deleting ListBox items

2007-03-08 Thread Felipe Monteiro de Carvalho
It would also be nice to search the bug tracker to see if this bug was already reported and fixed on the past, and then look at the revision which fixed it. It should show how to fix it again. -- Felipe Monteiro de Carvalho _ To

Re: Re: [lazarus] Deleting ListBox items

2007-03-08 Thread Felipe Monteiro de Carvalho
In this case I recomend creating a bug report with a small test program. thanks, -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.l

Re: Re: [lazarus] Bug Tracking, of nothing serves?

2006-09-26 Thread Felipe Monteiro de Carvalho
The bug is now solved. You can take a look at how the bug was solved here: http://www.freepascal.org/cgi-bin/viewcvs.cgi?root=lazarus&rev=9989&view=rev You may want to consider using this knowledge on the future to send patches =) And thus speedup bug solving of things that botter you. -- Feli

Re: Re: [lazarus] Bug Tracking, of nothing serves?

2006-09-25 Thread Flávio Etrusco
Parece que a solução é simples mesmo, deve ser algum lugar "esquecendo" de chamar Designer.Modified, mas então porque você não anexou a correção ao bug ao invés de ficar dando chilique? Sds, Etrusco On 9/25/06, Onjahyr <[EMAIL PROTECTED]> wrote: also not saved. Open one project (not project n

Re: Re: [lazarus] Help!!

2006-09-17 Thread Paul Parkyn
Hello Colin, I see you have Lazarus-0.9.16 I had similar problems with that release, it may pay you to use 0.9.17 which works really well for me. I am a newbie myself so can't help a lot, but don't give up, you'll get there.

Re: Re: [lazarus] Database programming

2006-09-05 Thread Graeme Geldenhuys
A very good set of components for Firebird is fblib (http://fblib.altervista.org/). Totally cross platform and stable - we have used it in commercial apps for almost a year now. It also has the Administration API implemented as well. Something still missing in the SqlDB units. Regards, - Graeme

Re: Re: [lazarus] Database programming

2006-09-05 Thread Paul Parkyn
Hello Michael,Bismay and Graeme, Thanks for your recommendation, I will use Firebird as you suggest. Best regards, === At 2006-09-05, 19:31:58 you wrote: === > > >On Tue, 5 Sep 2006, Paul Parkyn wrote: > >> Hello , >> I would like some advice on which type of database to u

Re: Re: [lazarus] Problem can't find LResources Unit

2006-07-26 Thread Paul Parkyn
Thank you Mattias, I have found the Font file ok and that works but my other problems are due to a faulty rpm, the rpm may have been corrupted during download. However when I query the rpm database it is not installed so I tried an update and it

Re: Re: [lazarus] What's wrong with this code?

2006-05-24 Thread Daniel Dugan
btnTestMeClick.Caption;='Click';   The semicolon after Caption should be a colon.   DanielPaul Parkyn <[EMAIL PROTECTED]> wrote: Hello There doesn't seem to be a semi colon after the end of the if then else, but most likely you have spotted thatBest regards, === At 2006-05-24, 16:38:38 you

Re: Re: [lazarus] What's wrong with this code?

2006-05-24 Thread Paul Parkyn
Hello There doesn't seem to be a semi colon after the end of the if then else, but most likely you have spotted that Best regards, === At 2006-05-24, 16:38:38 you wrote: === >John Meyer wrote: >> begin >> if btnTestMeClick.tag=0 then >> begin >> btnTestMeCli

Re: Re: [lazarus] Localization

2006-03-06 Thread Lee Jingbo
Would a mechanism be implemented such as hook for external loaclization?   Form Visual Inherited may also help, i think.       On  Mon,  6  Mar  2006  08:06:53  +0800 "Lee  Jingbo"   <[EMAIL PROTECTED] >  wrote:

Re: Re: [lazarus] Localization

2006-03-05 Thread Lee Jingbo
   i use windows xp, how can i do ?     On  Fri,  3  Mar  2006  13:54:19  +0800 "Lee  Jingbo"   <[EMAIL PROTECTED] >  wrote:   >   >   >  Is  there  a  way  that  i  can  add  some  localizatio

Re: Re: [lazarus] Enhanced versions of TStringGrid

2006-02-23 Thread Lee Jingbo
  Why not use TGrid ?       -  Original  Message  -   From:  "Micha  Nelissen"   <[EMAIL PROTECTED] > To:   Sent:  Thursday,  February  23,  2006  1:54  AM Subject:  Re:  [l

Re: Re: [lazarus] Enhanced versions of TStringGrid

2006-02-23 Thread Lee Jingbo
  Documents and demos can reduce complexity.   Gird is very important  for apps such as MIS Application.   I think that TcxGrid , which is a production of DevExpress Comp. , is a good exmaple.     Jesus  Reyes  wrote: >  It's  a  ni