I only want to turn Persian digits into Arabic-Indic ones without touching the Western digits in my text; which setting do I pick?
Choose Arabic-Indic as the target, then untick Western in the 'Styles to convert' list. Only the Persian digits change to Arabic-Indic, Western digits such as 45 stay exactly as they are, and the per-style counter shows precisely what was converted from where.
When you need this setting
The defaults convert every style into the target. That is right when you want a text in one single style, but it is not always what you want. Common cases in a Gulf store:
- Arabic copy with product codes and prices in Western digits you want kept, into which Persian digits have crept from a staff member on a Persian keyboard.
- An old description file written in Arabic-Indic digits, where you only want to fix the stray Persian digits so they match the rest.
- A saved customer-service reply containing a phone number in Western digits that you do not want touched.
The example both ways
This line mixes all three styles: a code in Persian digits, a price in Western, and a number in Arabic-Indic:
كود ۱۲۳ وسعر 45 ورقم ٦٧
With the defaults, Arabic-Indic target and every source ticked, 5 digits convert:
كود ١٢٣ وسعر ٤٥ ورقم ٦٧
With Western unticked, only 3 convert, all of them Persian:
كود ١٢٣ وسعر 45 ورقم ٦٧
The price 45 is untouched. The ٦٧ was never counted as converted at all, because it was already in the target style, and its checkbox is disabled as soon as Arabic-Indic is the target.
The steps
- Open the Arabic/Persian/Western digit converter and paste the text.
- Pick 'Arabic-Indic ٠١٢٣٤٥٦٧٨٩' under 'Target digit style'.
- Under 'Styles to convert', untick 'Western 0-9' and keep 'Persian ۰-۹' ticked.
- Look at the counter next to each style: there should be a number beside Persian and zero beside Western.
- Copy the result.
The counters are your guarantee
Below the result sit three figures: 'Digits converted', 'Digits in the text' and 'Digits protected'. Next to each style in the source list is a counter of what was converted from it. In our example the text has 7 digits, 3 were converted, the Persian counter reads 3 and the Western counter reads zero. If you see anything else, one of the boxes is still ticked.
This check matters most on long texts, where you cannot read every line yourself. One number out of place tells you the settings are not what you think.
It works the other way round too
The same logic runs in any direction. Want Arabic-Indic digits converted to Western while leaving Persian ones for some reason? Choose Western as the target and untick Persian. Every ticked box means 'convert this style to the target', and every unticked box means 'leave it'.
Common questions
Can I go from Persian straight to Western?
Yes. Choose Western as the target, keep Persian ticked, and untick Arabic-Indic if you want Arabic-Indic digits left as they are.
Why can't I tick the target style as a source?
Converting a style into itself changes nothing, so the tool disables that box and labels it as the target.
Do the separators stay as they are?
Yes, as long as the separator option is off, which is the default.
