🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how can use ascii dos charset in memo control?

#11722
From: Michel Leunen
Date: Tue, 20 Jan 2004 19:57
18 lines
1661 bytes
ScOe wrote:

>>You'll have to do a mapping from the encoding of the file to the encoding
>>your program is using.

> How do i do that ?

I have not read this thread from the beginning so I could be wrong but 
did you try the OemToChar() and CharToOem() API functions.

Michel
-- 
----------------------------------------
Michel Leunen
mailto:michel@leunen.com
C++Builder, C++BuilderX, BCC5.5.1 Web site:
http://www.leunen.com/
----------------------------------------
Technical Details
Message-ID: <400d8820@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <400b17b7@newsgroups.borland.com> <vram00dvjm1cn0bpddhafucohai2hd1dsg@4ax.com> <400bdd21@newsgroups.borland.com> <m2vfn7n9or.fsf@madbox2.local> <400d75ca@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2a43cf053fcca89
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-01-20 12:10:38 PST
Date: Tue, 20 Jan 2004 20:57:12 +0100
From: Michel Leunen <mleu@STOPSPAMskynet.be>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031007
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: how can use ascii dos charset in memo control?
References: <400b17b7@newsgroups.borland.com> <vram00dvjm1cn0bpddhafucohai2hd1dsg@4ax.com> <400bdd21@newsgroups.borland.com> <m2vfn7n9or.fsf@madbox2.local> <400d75ca@newsgroups.borland.com>
In-Reply-To: <400d75ca@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 80.200.26.236
Message-ID: <400d8820@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074628640 80.200.26.236 (20 Jan 2004 11:57:20 -0700)
Lines: 19
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail