News for hackers. Stuff that matters.
Re:Ruby 2.2.0 Released by wycats on Thursday December 25, 2014 @07:17PM (#8797581)
Han unification is one problem; another problem is that not all encodings can be round-tripped losslessly through Unicode. Shift-JIS, for example, has multiple separate characters that convert into the same character in Unicode, and therefore cannot be converted back into their original form reliably.
Re:Ruby 2.2.0 Released by wycats on Thursday December 25, 2014 @08:08PM (#8797655)
Re:Ruby 2.2.0 Released by MichaelGG on Thursday December 25, 2014 @10:27PM (#8797917)
The shift JIS issue seems to be a fault in the design of shift JIS, resulting in even symbols like square root not having a canonical encoding. At what point do you just draw the line and tell developers if they need to deal with such things themselves? No one is taking away byte arrays. Fragmenting the userbase seems suboptimal.