🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

UTF-8 to curent locale

#1372
From: Asger Jorgensen
Date: Sun, 09 Sep 2007 22:11
14 lines
1318 bytes
Hi there

Is there an API function that can translate a UTF-8 string
to an asci string in the curent local codepage ?

This situation is that I recieve some files from 
companies here in my country, and because of an international
standard in these files, they are in the UTF-8 format.

In other words I will have no problem with these files if 
I could just traslate them before I start working on them.

Thanks in advance
Asger
Technical Details
Message-ID: <MPG.214e8e1e8b10f7259897e4@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer1.kpn.DE!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1467a6fdb7f4c516,start
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: UTF-8 to curent locale
Date: Mon, 10 Sep 2007 00:11:59 +0200
Message-ID: <MPG.214e8e1e8b10f7259897e4@newsgroups.borland.com>
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 1189375984 83.73.213.92 (9 Sep 2007 15:13:04 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!eweka.nl!lightspeed.eweka.nl!npeer.de.kpn-eurorings.net!npeer1.kpn.DE!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail