🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: UTF-8 to curent locale

#1377
From: Darko Miletic
Date: Mon, 10 Sep 2007 16:27
15 lines
1751 bytes
Thomas Maeder [TeamB] wrote:

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

You don't need a conversion from UTF-8 to ASCII if all charactes in 
utf-8 string are ascii characters, otherwise this is not true. He said 
this in his first message:

 > 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.

So these files may contain non ascii characters and thus conversion is 
needed.
Technical Details
Message-ID: <46e57059$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news2.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
Date: Mon, 10 Sep 2007 13:27:04 -0300
From: Darko Miletic <kiklop@fibertel.com.ar>
Reply-To: Darko Miletic <kiklop@fibertel.com.ar>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: UTF-8 to curent locale
References: <MPG.214e8e1e8b10f7259897e4@newsgroups.borland.com> <46e54543@newsgroups.borland.com> <MPG.214f7a08942d25809897e5@newsgroups.borland.com> <m23axmtstn.fsf@glue.ch>
In-Reply-To: <m23axmtstn.fsf@glue.ch>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 000774-0, 10/09/2007), Outbound message
X-Antivirus-Status: Clean
NNTP-Posting-Host: 200.49.157.163
Message-ID: <46e57059$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1189441625 200.49.157.163 (10 Sep 2007 09:27:05 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail