[fpc-pascal] JS: \u00C1 = Á; Pascal: $00C1 = ?
silvioprog at gmail.com
Thu Jul 24 03:57:06 CEST 2014
On Wed, Jul 23, 2014 at 9:49 PM, Dmitry Boyarintsev <
skalogryz.lists at gmail.com> wrote:
> 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.
It worked like a charm!
s := #$02229#$0FE00;
sl := TStringList.Create;
sl.Text := UTF8Encode(s);
And the content in 'test.txt' is ∩︀ (Windows/Linux).
Thank you very much Dmitry!
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal