Forum > macOS / Mac OS X

Lazarus doesn't let me write in spanish áéíóú and ^

(1/9) > >>

edgarrod71:
Hi, trying to write the ^ caret I could see I cannot work on IDE, even the tilde letters... like áéíóú, but ñ works!  What can I change on IDE?

PD: Working on Big Sur 11.7.2

lainz:
FPC is not Java, you can't type that.

edgarrod71:
My first language is Spanish, so I develop using FP in Spanish... not JAVA lol.

it turns that using Lazarus v2.0.12. (I installed it on EL Capitan).  I can use ^ if I want to work with pointers... and it works...
even I can use the strings in Spanish.  and it works too.  So what is it going on with the last version?

Sometimes I need to write strings in Spanish even the comments, but the main reason I need the ^ character is for pointers.


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---type  TA = array of integer;function imprime_array(a: TA): string;var p: ^integer;  s: string = '';begin  p := @a[0];   // Inicialización  while p^ > 0 do begin  // siempre apuntarás    s += IntToStr(p^) + #9; // asignaré al final tabulador    inc(p);             // incrementaría el puntero  end;  result := s;  // al final lo devuelvo, qué opinas tú?end;                                                    
In last version of Lazarus these letters are not shown on IDE.  Any ideas how to solve that?

dbannon:
There is a problem entering extended characters into the Lazarus IDE and several components using the "compose sequence". However, I think that is GTK2 only. See -

https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/38454

Are you entering the accented characters directly from a localised keyboard or are you using a compose sequence like trick ?  It does sound a bit like you have a keyboard problem ....

Davo

lainz:

--- Quote from: edgarrod71 on February 18, 2023, 04:59:15 am ---My first language is Spanish, so I develop using FP in Spanish... not JAVA lol.

it turns that using Lazarus v2.0.12. (I installed it on EL Capitan).  I can use ^ if I want to work with pointers... and it works...
even I can use the strings in Spanish.  and it works too.  So what is it going on with the last version?

Sometimes I need to write strings in Spanish even the comments, but the main reason I need the ^ character is for pointers.


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---type  TA = array of integer;function imprime_array(a: TA): string;var p: ^integer;  s: string = '';begin  p := @a[0];   // Inicialización  while p^ > 0 do begin  // siempre apuntarás    s += IntToStr(p^) + #9; // asignaré al final tabulador    inc(p);             // incrementaría el puntero  end;  result := s;  // al final lo devuelvo, qué opinas tú?end;                                                    
In last version of Lazarus these letters are not shown on IDE.  Any ideas how to solve that?

--- End quote ---

My first language is also Spanish but I can't code in Spanish entirely with fpc. If you say comments is another story...

With JAVA you can type almost any character in variables and so on...

Navigation

[0] Message Index

[#] Next page

Go to full version