Solved

codepage convertion

Posted on 2000-02-27
1
1,183 Views
Last Modified: 2008-02-26
Hello,

I have to work with files (DBF, DBT, ...) that are created with an other codepage.  Delphi can work with the files but strings with special characters (é, ë, ç, ...) are translated as garbage.  Is it possible for Delphi to find out wich codepage was used?  Is it possible to change temperally the codepage of a file so I can work with it, and change it back to the origanal after I am finished modifying the data?

All info welcome.

PS sorry for my poor English.
0
Comment
Question by:ka1a
1 Comment
 
LVL 3

Accepted Solution

by:
philipleighs earned 50 total points
Comment Utility
You can store the strings in UniCode.

Use StringToWideChar and WideCharToString to convert between UniCode strings and Ansi/MBCS strings.

Cheers,
Phil.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now