<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Jul 23, 2014 at 9:49 PM, Dmitry Boyarintsev <span dir="ltr"><<a href="mailto:skalogryz.lists@gmail.com" target="_blank">skalogryz.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">I'd think that "show" requires a definition here.<div>
<br><div>For example in LCL application</div><div><br></div><div>ShowMessage( utf8encode( WideString(#$00c1)));<br></div><div>shows <span style="font-size:13px;font-family:arial,sans-serif">Á.</span><br>
</div><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">In most unix consoles</span></div><div><span style="font-family:arial,sans-serif;font-size:13px"> Writeln( WideString(</span>#$00c1));</div>
<div>would output the same character as well.</div></div></div></blockquote></div><div><br></div><div>It worked like a charm!</div><div><br></div><div>I did:</div><div><br></div><div><div>var</div><div> s: WideString;</div>
<div> sl: TStringList;</div><div>begin</div><div> s := #$02229#$0FE00;</div><div> sl := TStringList.Create;</div><div> try</div><div> sl.Text := UTF8Encode(s);</div><div> sl.SaveToFile('test.txt');</div>
<div> finally</div><div> sl.Free;</div><div> end;</div><div>end;</div></div><div><br></div><div>And the content in 'test.txt' is ∩︀ (Windows/Linux).</div><div><br></div><div>Thank you very much Dmitry!</div>
<div>
<br></div>-- <br>Silvio Clécio<br>My public projects - <a href="http://github.com/silvioprog" target="_blank">github.com/silvioprog</a>
</div></div>