[fpc-pascal] JS: \u00C1 = Á; Pascal: $00C1 = ?
Dmitry Boyarintsev
skalogryz.lists at gmail.com
Thu Jul 24 02:49:24 CEST 2014
I'd think that "show" requires a definition here.
For example in LCL application
ShowMessage( utf8encode( WideString(#$00c1)));
shows Á.
In most unix consoles
Writeln( WideString(#$00c1));
would output the same character as well.
thanks,
Dmitry
On Wed, Jul 23, 2014 at 8:12 PM, silvioprog <silvioprog at gmail.com> wrote:
> Hello,
>
> In JavaScript, if I code:
>
> alert('\u00C1');
>
> It shows:
>
> Á
>
> Is \u00C1 of JS same to $00C1 in Pascal?
>
> I'm trying to make a function to named-character convertions (e.g.: \u00C1
> = Á), the all characteres list here:
>
> http://www.w3.org/TR/html5/syntax.html#named-character-references
>
> In Pascal, how to convert $00C1 to show Á?
>
> Thank you!
>
> --
> Silvio Clécio
> My public projects - github.com/silvioprog
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20140723/3b7a03f2/attachment.html>
More information about the fpc-pascal
mailing list