Article View: borland.public.cppbuilder.nativeapi
Article #11734Re: how can use ascii dos charset in memo control?
From: Thomas Maeder [TeamB]
Date: Wed, 21 Jan 2004 22:28
Date: Wed, 21 Jan 2004 22:28
15 lines
1927 bytes
1927 bytes
"ScOe" <cbinders@hotmail.com> writes: >> Did you try OemToChar() and CharToOem()? It seems that these functions >> do what you need. > Yes. Still geting same result. Please post some sample chars from the file in the following three ways: - the characters that should appear in the RichEdit control - the characters that effectively appear in the control - the numerical codes (preferably in hex) of these characters in the file For getting the codes in hex, you can use the command od with the switches -cx on Linux shells and in the Cygwin bash (cf. http://www.cygwin.com/); most text editors also offer the possibility to view a file in hex.
Technical Details
Message-ID:
<m2wu7lq6mb.fsf@madbox2.local>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<400b17b7@newsgroups.borland.com> <vram00dvjm1cn0bpddhafucohai2hd1dsg@4ax.com> <400bdd21@newsgroups.borland.com> <m2vfn7n9or.fsf@madbox2.local> <400d75ca@newsgroups.borland.com> <m2wu7mgvvc.fsf@madbox2.local> <400e7421@newsgroups.borland.com> <400e7ca9$1@newsgroups.borland.com> <400ec9cf@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-21 14:41:01 PST 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> <m2wu7mgvvc.fsf@madbox2.local> <400e7421@newsgroups.borland.com> <400e7ca9$1@newsgroups.borland.com> <400ec9cf@newsgroups.borland.com> From: maeder@glue.ch (Thomas Maeder [TeamB]) Organization: TeamB Date: Wed, 21 Jan 2004 23:28:12 +0100 Message-ID: <m2wu7lq6mb.fsf@madbox2.local> User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Rational FORTRAN, linux) Cancel-Lock: sha1:WQ2ATi4Uz4WGH8i2tLgBqgT6tlE= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 80.218.8.157 X-Trace: newsgroups.borland.com 1074724107 80.218.8.157 (21 Jan 2004 14:28:27 -0700) Lines: 15 X-Authenticated-User: tmaeder Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail