Solved

TEdit/Ascii Problem

Posted on 2004-04-12
5
217 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Downloading email attachments 2 84
Convert a string into a TDateTime 5 72
CheckListBox usage 3 81
Not able to call Delphi XE10 dll function from Delphi 6.0 4 48
This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
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…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

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