Jump to content

Replace Each Char with DoubleByte Char


Recommended Posts

Posted

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.

Posted

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.

Posted

What are the chars that you want to change , and what are the new replacement chars to take a place ?

Posted
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. :thumbsup:

Posted (edited)
User error, methinks. :thumbsup:

And I also have character "{" and "}" that is a known bug. it couldn't be replaced. batch find and replace simply ignore it :glare:

Edited by grandhougday
Posted
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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...