Re: [Lazarus] IDE - SynEdit not accept accented characters
On 08/09/2013 13:14, Junior wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); I can confirm this on Fedora 18 gnome 3.6.3 dead keys to not work german key layout: - pressing the key for any accent on the next char: nothing (expected/correct) - pressing the key for any accent on the next char TWICE: showing the accent (actually backtick) (expected/correct) - pressing the key for any accent on the next char, then a vocal that can be accented: nothing (wrong) works in gedit on the same system/ same settings -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters / revision found
On 11/09/2013 11:45, Martin wrote: On 08/09/2013 13:14, Junior wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); I can confirm this on Fedora 18 gnome 3.6.3 It was introduced in Revision: 42581 Author: juha Date: 04 September 2013 01:06:33 Message: LCL: Fix accent chars in GTK2. Remove Gtk2LatinAccents define after testing. Issues #24750 and #22507. Original patch from Éderson Cássio Modified : /trunk/lcl/interfaces/gtk2/gtk2proc.inc dead keys to not work german key layout: - pressing the key for any accent on the next char: nothing (expected/correct) - pressing the key for any accent on the next char TWICE: showing the accent (actually backtick) (expected/correct) - pressing the key for any accent on the next char, then a vocal that can be accented: nothing (wrong) works in gedit on the same system/ same settings -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters / revision found
On Wed, Sep 11, 2013 at 2:42 PM, Martin laza...@mfriebe.de wrote: It was introduced in Revision: 42581 Author: juha Date: 04 September 2013 01:06:33 Message: LCL: Fix accent chars in GTK2. Remove Gtk2LatinAccents define after testing. Issues #24750 and #22507. Original patch from Éderson Cássio Modified : /trunk/lcl/interfaces/gtk2/gtk2proc.inc Ok, now it appparently got testers. The define was there for a long time and nobody complained. These are nasty errors because they don't happen in every machine or locale. I detached myself from the issue. Somebody else can continue. Regards, Juha -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
On 9/9/13, Junior lazarus.li...@gmail.com wrote: Works on all programs on my Linux does not work in Lazarus. OK, let's make it even more simple. What does ShowMessage(#$C3#$84#$C3#$8B#$C3#$8F#$C3#$96#$C3#$9C) show? (#$C3#$84#$C3#$8B#$C3#$8F#$C3#$96#$C3#$9C is the UTF8 sequence for 'ÄËÏÖÜ)' If this also dos not show accented chars we know the problem is in ShowMessage, and may have nothing to do with the IDE. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
On 2013-09-09 11:32, Bart wrote: OK, let's make it even more simple. What does ShowMessage(#$C3#$84#$C3#$8B#$C3#$8F#$C3#$96#$C3#$9C) show? From Junior's screenshots it seem the display problem which he is referring to, is in the Lazarus IDE (editor) - nothing to do with the ShowMessage() call. Junior, can you confirm? Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
Yes, I confirm. The problem is in the Lazarus IDE (editor). Em 09-09-2013 08:35, Graeme Geldenhuys escreveu: On 2013-09-09 11:32, Bart wrote: OK, let's make it even more simple. What does ShowMessage(#$C3#$84#$C3#$8B#$C3#$8F#$C3#$96#$C3#$9C) show? From Junior's screenshots it seem the display problem which he is referring to, is in the Lazarus IDE (editor) - nothing to do with the ShowMessage() call. Junior, can you confirm? Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
I installed the fpc 2.6.2 and Lazarus 1.1 svn in VirtualBox (with Ubuntu 12.04). The problem remains. I suspect from the fpc. Before I used version 2.7.1 I started using the 2.6.2 version in little time. I will install version 2.7.1 and confirm. thanks -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
On Sun, 08 Sep 2013 09:14:15 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); It works here on Ubuntu 13.10. Maybe your pascal unit is not stored UTF-8? See Right Click in source editor / file settings / Encoding. Do you use {$mode objfpc}{$H+} ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
On Sun, 8 Sep 2013 22:21:16 +0200 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 08 Sep 2013 09:14:15 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); It works here on Ubuntu 13.10. I meant 13.04 Maybe your pascal unit is not stored UTF-8? See Right Click in source editor / file settings / Encoding. Do you use {$mode objfpc}{$H+} ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
Lazarus 1.1 r42684M FPC 2.6.2 i386-linux-gtk 2 Was a recent update UTF8 cheked, see: http://imagebin.org/270291 Em 08-09-2013 17:28, Mattias Gaertner escreveu: On Sun, 8 Sep 2013 22:21:16 +0200 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 08 Sep 2013 09:14:15 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); It works here on Ubuntu 13.10. I meant 13.04 Maybe your pascal unit is not stored UTF-8? See Right Click in source editor / file settings / Encoding. Do you use {$mode objfpc}{$H+} ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
On Sun, 08 Sep 2013 18:02:16 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42684M FPC 2.6.2 i386-linux-gtk 2 Was a recent update UTF8 cheked, see: http://imagebin.org/270291 What is your Linux locale? In a terminal type the command locale. Mattias Em 08-09-2013 17:28, Mattias Gaertner escreveu: On Sun, 8 Sep 2013 22:21:16 +0200 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 08 Sep 2013 09:14:15 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); It works here on Ubuntu 13.10. I meant 13.04 Maybe your pascal unit is not stored UTF-8? See Right Click in source editor / file settings / Encoding. Do you use {$mode objfpc}{$H+} ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
LANG=pt_BR.UTF-8 LANGUAGE=pt_BR:pt:pt_PT:en LC_CTYPE=pt_BR.UTF-8 LC_NUMERIC=pt_BR.UTF-8 LC_TIME=pt_BR.UTF-8 LC_COLLATE=pt_BR.UTF-8 LC_MONETARY=pt_BR.UTF-8 LC_MESSAGES=pt_BR.UTF-8 LC_PAPER=pt_BR.UTF-8 LC_NAME=pt_BR.UTF-8 LC_ADDRESS=pt_BR.UTF-8 LC_TELEPHONE=pt_BR.UTF-8 LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=pt_BR.UTF-8 LC_ALL= until recently was working correctly. Em 08-09-2013 18:05, Mattias Gaertner escreveu: On Sun, 08 Sep 2013 18:02:16 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42684M FPC 2.6.2 i386-linux-gtk 2 Was a recent update UTF8 cheked, see: http://imagebin.org/270291 What is your Linux locale? In a terminal type the command locale. Mattias Em 08-09-2013 17:28, Mattias Gaertner escreveu: On Sun, 8 Sep 2013 22:21:16 +0200 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 08 Sep 2013 09:14:15 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); It works here on Ubuntu 13.10. I meant 13.04 Maybe your pascal unit is not stored UTF-8? See Right Click in source editor / file settings / Encoding. Do you use {$mode objfpc}{$H+} ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
It seems that the problem is not in Lazarus, I have compiled a very old version and still the error persists. Em 08-09-2013 18:05, Mattias Gaertner escreveu: On Sun, 08 Sep 2013 18:02:16 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42684M FPC 2.6.2 i386-linux-gtk 2 Was a recent update UTF8 cheked, see: http://imagebin.org/270291 What is your Linux locale? In a terminal type the command locale. Mattias Em 08-09-2013 17:28, Mattias Gaertner escreveu: On Sun, 8 Sep 2013 22:21:16 +0200 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 08 Sep 2013 09:14:15 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); It works here on Ubuntu 13.10. I meant 13.04 Maybe your pascal unit is not stored UTF-8? See Right Click in source editor / file settings / Encoding. Do you use {$mode objfpc}{$H+} ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
On 2013-09-08 23:26, Junior wrote: It seems that the problem is not in Lazarus, I have compiled a very old version and still the error persists. Did you also use a different config directory for the old Lazarus version? Otherwise the error could still be Lazarus, but in the config files - eg: editor settings. What is your editor line height? What is your extra line spacing set at? What font are you using in the editor? I've just tested some v1.1 version of Lazarus (checked out 2-3 months ago) and those characters display fine here under FreeBSD and Lazarus IDE compiled against GTK2. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
On Sun, 08 Sep 2013 23:54:08 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-09-08 23:26, Junior wrote: It seems that the problem is not in Lazarus, I have compiled a very old version and still the error persists. Did you also use a different config directory for the old Lazarus version? Otherwise the error could still be Lazarus, but in the config files - eg: editor settings. The source editor shows it correctly. The bug appears in his application via ShowMessage. What is your editor line height? What is your extra line spacing set at? What font are you using in the editor? I've just tested some v1.1 version of Lazarus (checked out 2-3 months ago) and those characters display fine here under FreeBSD and Lazarus IDE compiled against GTK2. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
I rebooted the computer, tested it with gEdit (text editor), LibreOffice, Terminal and everything working. I upgraded Lazarus, deleted the config folder (. Lazarus), compiled in Terminal (make clean all). Does not work accentuation. The same thing! Anybody else wearing Ubuntu Linux 12:04.3 updated? Em 08-09-2013 18:05, Mattias Gaertner escreveu: On Sun, 08 Sep 2013 18:02:16 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42684M FPC 2.6.2 i386-linux-gtk 2 Was a recent update UTF8 cheked, see: http://imagebin.org/270291 What is your Linux locale? In a terminal type the command locale. Mattias Em 08-09-2013 17:28, Mattias Gaertner escreveu: On Sun, 8 Sep 2013 22:21:16 +0200 Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sun, 08 Sep 2013 09:14:15 -0300 Junior lazarus.li...@gmail.com wrote: Lazarus 1.1 r42677M FPC 2.6.2 i386-linux-gtk 2 (Ubuntu 12.04) (É - é - Ã - ã - Â - â ...) ShowMessage('É Á'); appears ShowMessage('E A'); It works here on Ubuntu 13.10. I meant 13.04 Maybe your pascal unit is not stored UTF-8? See Right Click in source editor / file settings / Encoding. Do you use {$mode objfpc}{$H+} ? Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] IDE - SynEdit not accept accented characters
Works on all programs on my Linux does not work in Lazarus. see: http://imagebin.org/270316 Em 08-09-2013 20:02, Mattias Gaertner escreveu: On Sun, 08 Sep 2013 23:54:08 +0100 Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-09-08 23:26, Junior wrote: It seems that the problem is not in Lazarus, I have compiled a very old version and still the error persists. Did you also use a different config directory for the old Lazarus version? Otherwise the error could still be Lazarus, but in the config files - eg: editor settings. The source editor shows it correctly. The bug appears in his application via ShowMessage. What is your editor line height? What is your extra line spacing set at? What font are you using in the editor? I've just tested some v1.1 version of Lazarus (checked out 2-3 months ago) and those characters display fine here under FreeBSD and Lazarus IDE compiled against GTK2. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus