🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1378

Re: UTF-8 to curent locale

#1378
From: Asger Jorgensen
Date: Mon, 10 Sep 2007 18:11
22 lines
1652 bytes
Hi Thomas 
Thanks for Your reply

In article <m23axmtstn.fsf@glue.ch>, maeder@glue.ch says...
> 
> Have you checked whether you have Utf8ToAnsi()?

Yes I have checked and no I dont have it

> You don't need a conversion from UTF-8 to ASCII; all ASCII characters
> have the same code in UTF-8 and ASCII.

Sorry this is my mistake, I am just so use to call it ascii,
but we use codepage 850 and we have 3/6 spcial character here 
in Denmark, but when it comes to names we have a some foreign
characters also.
So I need to convert UTF-8 to a string of chars in our codepage.

Is there a way to get the Utf8ToAnsi() function, for use in my BCB5 ??

Thanks in advance 
Asger
Technical Details
Message-ID: <MPG.214fa756a89c2c9e9897e6@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <MPG.214e8e1e8b10f7259897e4@newsgroups.borland.com> <46e54543@newsgroups.borland.com> <MPG.214f7a08942d25809897e5@newsgroups.borland.com> <m23axmtstn.fsf@glue.ch>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1467a6fdb7f4c516
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Asger Jorgensen <Junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: UTF-8 to curent locale
Date: Mon, 10 Sep 2007 20:11:56 +0200
Message-ID: <MPG.214fa756a89c2c9e9897e6@newsgroups.borland.com>
References: <MPG.214e8e1e8b10f7259897e4@newsgroups.borland.com> <46e54543@newsgroups.borland.com> <MPG.214f7a08942d25809897e5@newsgroups.borland.com> <m23axmtstn.fsf@glue.ch>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.213.92
X-Trace: newsgroups.borland.com 1189447991 83.73.213.92 (10 Sep 2007 11:13:11 -0700)
Lines: 22
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail