How can I convert numerals to a Indian locale?

How can I convert numerals to a Indian locale?

This is not technically related to jQuery but web development in general

Anybody know how to convert western numbers to other languages?  Hindi and Arabic use the same numbering system but they draw the characters for each numeral differently than we do in US and Western Europe.

for instance, рез  is a 1 in Devnagari (Hindi)

EDIT: figured out my own question


This does it where 2406 is the base decimal # for devanagari

eval('"\\u0' + (2406 + num).toString(16) +'"')


    • Topic Participants

    • bryan