grandhougday Posted February 8, 2012 Posted February 8, 2012 I have drawing with many texts. texts are "one byte" ASCII code. codes are from range 30 to 250. I want to replace content of each text with a double byte ASCII code like "\U+FDE9". I have corresponding character map in file (I mean mapping from each one-byte to double-byte).I also can use doslib.arx so suggestion from that domain is acceptable.Performance is another priority. Rise. Quote
BlackBox Posted February 8, 2012 Posted February 8, 2012 If I understand you correctly, Lee's Batch Find and Replace Text routine will accomplish what you want. HTH Quote
grandhougday Posted February 13, 2012 Author Posted February 13, 2012 I tried that. it is so slow when you want to replace a series of characters (I have about 40 characters in a list to be replaced) and it fall in a endless loop in some case. Quote
Tharwat Posted February 13, 2012 Posted February 13, 2012 What are the chars that you want to change , and what are the new replacement chars to take a place ? Quote
BlackBox Posted February 13, 2012 Posted February 13, 2012 I tried that. it is so slow when you want to replace a series of characters (I have about 40 characters in a list to be replaced) and it fall in a endless loop in some case. User error, methinks. Quote
grandhougday Posted February 14, 2012 Author Posted February 14, 2012 (edited) User error, methinks. And I also have character "{" and "}" that is a known bug. it couldn't be replaced. batch find and replace simply ignore it Edited February 14, 2012 by grandhougday Quote
grandhougday Posted February 14, 2012 Author Posted February 14, 2012 What are the chars that you want to change , and what are the new replacement chars to take a place ? the characters are simply ASCII codes from 30 to 250. honestly I want to convert and old shx font to a new MS.windows ttf font. In attached CSV file, first column is ascii codes (in Dec and Hex format) and second is my destination AsciiCodes.csv Quote
grandhougday Posted February 19, 2012 Author Posted February 19, 2012 I complete the code thanks all Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.