🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #786

Re: utf-8 in filename of Content-Disposition: attachment;

#786
From: Steve Aletto
Date: Mon, 30 Jan 2006 14:46
12 lines
1384 bytes
> Load the contents of the file, translate it to Unicode with
> MultiByteToWideChar(CP_UTF8, ...), and convert it to your 
> required
> code page with WideCharToMultiByte.
> </quote>
>
> In my bcb5 I cannot find these functions.

Strange. They are part of the Win32 API (library Kernel32.lib). 
Are you sure you can't use them?

Steve. 
Technical Details
Message-ID: <43de261b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <43de245b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,9857a2e9199d6815
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Steve Aletto" <stevealettoANTI@SPAMgmail.com>
From: "Steve Aletto" <stevealettoANTI@SPAMgmail.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <43de245b$1@newsgroups.borland.com>
Subject: Re: utf-8 in filename of Content-Disposition: attachment;
Date: Mon, 30 Jan 2006 15:46:37 +0100
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 81.208.124.114
Message-ID: <43de261b@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138632219 81.208.124.114 (30 Jan 2006 06:43:39 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail