jruby / jcodings

Java-based codings helper classes for Joni and JRuby
MIT License
21 stars 29 forks source link

Fix gbk (for JRUBY-6267) #2

Closed ryenus closed 12 years ago

ryenus commented 12 years ago

oh, lord, why GBKEncoding.INSTANCE = new CP949Encoding() ?

This caused the weird bug JRUBY-6267.

BanzaiMan commented 12 years ago

Is JUnit 4.10 necessary?

ryenus commented 12 years ago

Yes, it's necessary. The test code needs to use org.junit.Assume.assumeTrue, which is only available in JUnit 4 (at least 4.4).