SciRuby / rubex

rubex - A Ruby-like language for writing Ruby C extensions.
BSD 2-Clause "Simplified" License
451 stars 21 forks source link

Handle unicode strings #23

Open v0dro opened 7 years ago

v0dro commented 7 years ago

Due to the nature of a C char data type, Rubex cannot support unicode strings out of the box. A possible approach to supporting unicode can involve defining a new data type and making sure that Ruby strings can implicitly convert into that type without user intervention (something that is supported for char* currently).