comment stupid regexp in stupid code
--- MacRuby/trunk/lib/rexml/encodings/UTF-16.rb 2010-03-17 00:03:46 UTC (rev 3777)
+++ MacRuby/trunk/lib/rexml/encodings/UTF-16.rb 2010-03-17 00:26:14 UTC (rev 3778)
@@ -16,7 +16,8 @@
end
def decode_utf16(str)
- str = str[2..-1] if /^\376\377/n =~ str
+ # XXX macruby cannot compile this regexp
+ #str = str[2..-1] if /^\376\377/n =~ str
array_enc=str.unpack('C*')
array_utf8 = []
0.step(array_enc.size-1, 2){|i|