Lazarus

Announcements => Third party => Topic started by: Alextp on May 29, 2019, 02:53:53 pm

Title: AEncoding unit
Post by: Alextp on May 29, 2019, 02:53:53 pm
Wrote new page:
http://wiki.freepascal.org/AEncoding
Title: Re: AEncoding unit
Post by: Ñuño_Martínez on June 01, 2019, 11:10:24 am
So this is to change text encoding (ASCII, UNICODE, ...), isn't it?
Title: Re: AEncoding unit
Post by: Alextp on June 01, 2019, 11:11:40 am
To convert text encoding inside the string (UTF8 string).
Title: Re: AEncoding unit
Post by: engkin on June 01, 2019, 07:30:27 pm
How did you build the list of codepages. It does mention:
Code: Pascal  [Select][+][-]
  1. // Encoding values are from fpcsrc/rtl/objpas/sysutils/syscodepages.inc

but does not same to be the same.

syscodepages.inc has 156 codepages:
Code: Pascal  [Select][+][-]
  1. CodePageNames: array[0..155] of TCodePageEntry...

while AEcoding includes 69 codepages. For instance, codepage 932 is missing.
Title: Re: AEncoding unit
Post by: Alextp on June 02, 2019, 11:29:08 am
I added const only for limited set - most used by me. CP932-- added now, it's Shift-jis.
Title: Re: AEncoding unit
Post by: totya on June 02, 2019, 01:53:59 pm
Wrote new page:
http://wiki.freepascal.org/AEncoding

Hi!

This page is empty for me...
Title: Re: AEncoding unit
Post by: jamie on June 02, 2019, 06:38:57 pm

Must be that missing Encoding!  :P :P
Title: Re: AEncoding unit
Post by: FTurtle on June 02, 2019, 08:02:17 pm
Wrote new page:
http://wiki.freepascal.org/AEncoding

Hi!

This page is empty for me...

It is srange thing...
This page was empty for unlogged users. After logging in, this page has become visible. After null-editing this page has become visible for unlogged users too.
Title: Re: AEncoding unit
Post by: fred on June 03, 2019, 12:24:01 pm
Even stranger, http://wiki.freepascal.org/ (http://wiki.freepascal.org/) looks emprty for me even when logged on...
Title: Re: AEncoding unit
Post by: avra on June 04, 2019, 09:09:51 am
Even stranger, http://wiki.freepascal.org/ (http://wiki.freepascal.org/) looks emprty for me even when logged on...
For me too...
Title: Re: AEncoding unit
Post by: Ñuño_Martínez on June 04, 2019, 12:23:11 pm
Me too.  But when I tried to save it says database is blocked for maintenance.  So I think this is an issue the sysadmin should manage.
Title: Re: AEncoding unit
Post by: Zoran on June 04, 2019, 12:44:31 pm
Me too.  But when I tried to save it says database is blocked for maintenance.  So I think this is an issue the sysadmin should manage.

See: https://forum.lazarus.freepascal.org/index.php/topic,45603.0.html (https://forum.lazarus.freepascal.org/index.php/topic,45603.0.html)
TinyPortal © 2005-2018