Holy cow, I wrote a book!
A customer asked,
"I'm looking for a way to convert English characters to another
For example, if the target language is Arabic and the string
is the word Hello, I want it to convert to
The question is still vague, even with the assistance of the example,
since it's not clear what "H(Arabic)" means.
There are a variety of ways of converting a string from one
language to another.
Here are a few I was able to think of.
As it turns out, the customer wasn't interested in any of these!
What the customer wanted was,
"Take the word Hello and imagine how you would type it on
a US-English keyboard.
Now change the keyboard layout to Arabic and then press
exactly the same keys.
That's what I want."
In other words, the customer wanted to see what the result
would have been if you had told a blindfolded touch-typist
to type Hello,
but secretly replace the US-English keyboard with an Arabic one.
Wow, that's something that hadn't even occurred to me
as a possibility.
Fortunately, Michael Kaplan was able to come to the rescue
by pointing the customer to the
Keyboard Convert Service.