Open sevk opened 7 years ago
Include the following lines at the beginning:
require 'enc/gb18030'
require 'enc/trans/gb18030'
The second line is not necessary in the snippet you provided, but it will be required if you want to convert a string from GB18030 to other encodings.
Ideally, the import of such libraries should be automatic, but this is not yet possible with the current version of Exerb, so you still need to do this manually.
how to fix this ? thanks