Solved

TEdit/Ascii Problem

Posted on 2004-04-12
5
213 Views
Last Modified: 2013-12-03
I have a form with an edit box and a button and I changed the font charset property to OEM_Convert to display DOS extended ascii characters on the edit box by using the button. Everything is working I can display the ascii code, except that when I copy the character from the edit box
(ex. chr(158) peseta sign) and paste it into notepad the character is different it's chr(0158).

Is their a way to copy exactly whats on the edit box to notepad? Already tried copytoclipboard still the same result. Thanks a million!
0
Comment
Question by:razorspells
5 Comments
 
LVL 6

Accepted Solution

by:
CyberGhost earned 50 total points
Comment Utility
Must change the charset on font you use in Notepad as well.

Alt+0158 is different in Central-European font charset and also different in Turkish charset for instance.

regards
CyberGhost
0
 
LVL 1

Expert Comment

by:rfedyk
Comment Utility
Charsets are conventions that are supposed to standardize displayed characters.  

However, as CyberGhost points out, its always about the font and not the charset.

For example, a font designer can put the face of Mickey Mouse in glyph position 158, if they want to, so whether you see a pesata symbol or MM depends on some other crazy person.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

771 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

10 Experts available now in Live!

Get 1:1 Help Now