Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ruby strings

Name: Anonymous 2006-04-06 10:54

Do Ruby strings suck, or do they actually have support for multibyte characters and different encodings? Googling seems to suggest the former.

Name: Anonymous 2006-04-07 12:17

>>20
You know why? They've ran out of ./()%-=,;!"<@#~)':`[]+*&|>{}\ and they need to add more functionality, and Unicode can help with that. Think about the Hearts operation, the vertical ellipsis hack, the line drawing indentation or the Euro formatting! We could even make it so that functions to convert between international character sets are implemented by using country currencies, so if you want to convert between US-ASCII and Shift_JIS the function is a dollar and a yen symbols. The data would actually go between the symbols, like €stuff$, because it's cooler, and the conversion is done in place, but $_ is binded to the results and we then create a dollar middledot special variable to retrieve the number of changes. How about it?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List