[DUG] Thai Baht Symbol - or Hex value to String converted

Steve Peacocke steve.peacocke at gmail.com
Fri Aug 3 08:46:30 NZST 2007


Except that I can see it rendered on a web page, I can copy that
character into MS Word and it shows as a character. I can also copy
that character into this email (ß) and it shows correctly (Gmail, on
the internet).

Therefore, there should be a way that I can display that character in
a Label on a form.

Code Pages? A search of both D2007 and D7 help files produce a zero
result on this. Can you elaborate?

Thanks Rohit,

Steve

On 02/08/07, Rohit Gupta <r.gupta at xtra.co.nz> wrote:
> Just Guessing Here
>
> 1.  If you use the currency format etc, then windows should do the right
> thing for a pc with thai on
> 2.  Else I suspect code pages (are they still around) plus a font that
> has the character in it.
>
>
>
> Steve Peacocke wrote:
> > Good afternoon all.
> >
> > I'm having problems displaying the Thai Baht symbol (ß) any ideas?
> >
> > This page...
> > http://www.fileformat.info/info/unicode/char/0e3f/index.htm
> >
> > Suggests that the sysmbol can be reproduced with the following...
> >
> > HTML Entity (decimal) &#3647;
> > HTML Entity (hex) &#xe3f;
> > How to type in Microsoft Windows Alt +0E3F
> > UTF-8 (hex) 0xE0 0xB8 0xBF (e0b8bf)
> > UTF-8 (binary) 11100000:10111000:10111111
> > UTF-16 (hex) 0x0E3F (0e3f)
> > UTF-16 (decimal) 3,647
> > UTF-32 (hex) 0x00000E3F (0e3f)
> > UTF-32 (decimal) 3,647
> > C/C++/Java source code "\u0E3F"
> > Python source code u"\u0E3F"
> >
> > So, converting that to Delphi, how's that done. I want a label to
> > display the equivilent of..
> >
> > Dollar = $12,345
> > Baht = ß12,345
> >
> > Any ideas?
> >
> > Steve
> >
> >
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with Subject: unsubscribe
>


-- 
Steve Peacocke
http://stevepeacocke.blogspot.com/



More information about the Delphi mailing list