How do I get a character from a Unicode value?

613 views Asked by At

Coming from a JavaScript background, the following code would generate a list of chars one after the other, starting with 0x30A0:

for i = 1 to 9
   String.fromCharCode(0x30A0 + i)

chars like ァ etc.

How do I achieve this in Rust?

0

There are 0 answers