unidecoder icon indicating copy to clipboard operation
unidecoder copied to clipboard

Unicode require

Open mzsanford opened this issue 14 years ago • 2 comments

We ran into a problem while importing Unidecoder where we have load path that makes require "unicode" return success but to load a class other than ::Unicode. To get around that I added a second parameter to define_normalize so it can verify it loaded the correct class or module.

mzsanford avatar Mar 10 '11 19:03 mzsanford

Cool deal, will take a peek at this later and pull. BTW, please tell me you're not using this on massive data at Twitter. :) Depending on what you're doing with it, there might be some better options.

norman avatar Mar 10 '11 19:03 norman

We're looking at using this on a small scale for some prototyping stuff but if you have other suggestions drop me a github message. Happy to hear what else might work.

mzsanford avatar Mar 11 '11 01:03 mzsanford