Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-03

A problem with extended ascii

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

pluma pluma

Hello,
i'm new in this mailing list and in Lazzarus. I use Delphi since many years, now i'm trying Lazzarus to decide if use it in an open project. I need to use extended ascii value as ? ? ? ? ? ? and so on.

I note that in Tmemo and in TListbox when i try to open a text file (made with notepad) that cointain these accented characters, all the lines of the text that contain one of this charcter are omitted to by displayied.

Why this strange behaviour?
In Delphi there arent' this strange thing with Tmemo and Tlistbox and che characters ? ? ? ? ? ? are well displayied into these components.

Manu thanks for help!!
I was happy to test Lazzarus but i find this ... bug just in the begining of coding!

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090327/72380b37/attachment-0001.html

Reply by email

ik
to pluma pluma

Hi,

Here are some points that should be taken in consideration:

1. Does both Delphi and Lazarus uses the same fonts for the components ?
2. Do you use the same code page in side the Tfont settings ?
3. Are you sure it's extended ASCII and not widechar, UTF-8 or other encoding ?

Ido

2009/3/27 pluma pluma

Show quoted text 28 lines
Hello, i'm new in this mailing list and in Lazzarus. I use Delphi since many years, now i'm trying Lazzarus to decide if use it in an open project. I need to use extended ascii value as ? ? ? ? ? ? and so on. I note that in Tmemo and in TListbox when i try to open a text file (made with notepad) that cointain these accented characters, all the lines of the text that contain one of this charcter are omitted to by displayied. Why this strange behaviour? In Delphi there arent' this strange thing with Tmemo and Tlistbox and che characters ? ? ? ? ? ? are well displayied into these components. Manu thanks for help!! I was happy to test Lazzarus but i find this ... bug just in the begining of coding! Max _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090327/aadf4274/attachment.html

Reply by email

pluma pluma
to ik

Thanks, i converted the text file into UFT-8 and after my exe build in Lazarus works ok.
Thanks again.
Max

2009/3/27 ik

Show quoted text 49 lines
Hi, Here are some points that should be taken in consideration: 1. Does both Delphi and Lazarus uses the same fonts for the components ? 2. Do you use the same code page in side the Tfont settings ? 3. Are you sure it's extended ASCII and not widechar, UTF-8 or other encoding ? Ido 2009/3/27 pluma pluma > Hello, > i'm new in this mailing list and in Lazzarus. I use Delphi since many > years, now i'm trying Lazzarus to decide if use it in an open project. > I need to use extended ascii value as ? ? ? ? ? ? and so on. > > I note that in Tmemo and in TListbox when i try to open a text file (made > with notepad) that cointain these accented characters, > all the lines of the text that contain one of this charcter are omitted to > by displayied. > > Why this strange behaviour? > In Delphi there arent' this strange thing with Tmemo and Tlistbox and che > characters ? ? ? ? ? ? are well displayied into these components. > > > > Manu thanks for help!! > I was happy to test Lazzarus but i find this ... bug just in the begining > of coding! > > Max > > _______________________________________________ > Lazarus mailing list > > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090330/6c7b474a/attachment.html

Reply by email