# How do i load ActiveSupport::Multibyte

**URL:** <https://www.ruby-forum.com/t/how-do-i-load-activesupport-multibyte/158071>\
**Category:** Ruby\
**Created:** [January 19, 2009, 1:32am UTC](https://www.ruby-forum.com/t/how-do-i-load-activesupport-multibyte/158071 "2009-01-19T01:32:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![softf5ajivanet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/9f8e36/32.png) [@softf5ajivanet](https://www.ruby-forum.com/u/softf5ajivanet)\
**Post date:** [January 19, 2009, 1:32am UTC](https://www.ruby-forum.com/t/how-do-i-load-activesupport-multibyte/158071/1 "2009-01-19T01:32:36Z")

</div>

Hi, i’m trying to use this method…

require ‘active\_support’

class String  
def translit  
ActiveSupport::Multibyte::Handlers::UTF8Handler.normalize(self,:d).split(//u).reject  
{ |e| e.length \> 1 }.join  
end  
end

and everytime i run it, it crashes out with …

/Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active\_support/dependencies.rb:442:in  
`load_missing_constant': uninitialized constant ActiveSupport::Multibyte::Handlers (NameError) from /Library/Ruby/Gems/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:77:in`const\_missing’  
from filter.rb:35

Now i’ve got active\_support loaded so i should have access to the  
Multibyte library, but obviously it needs something else, so how do i  
work out what this dependency is and load it?

any ideas?
