Solved

TEdit/Ascii Problem

Posted on 2004-04-12
5
219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 6

Accepted Solution

by:
CyberGhost earned 50 total points
ID: 10811545
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
ID: 10812230
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

734 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