Hello
i have an domain in .рф (РФ is the first TLD, where domain names are
put in Cyrillic script only.) (see also http://teimos.ru/x/punycode/)
i''m trying to get working routes in cyrillic like
http://теймос.рф/привет (XN--E1AIJIPB.XN--P1AI/XN--B1AGH1AFP)
to welcome#index (for example)
i tryed different ways but no luck with them all...
in Gemfile
---------------\
gem ''i18n_routing''
--------------------
in routes.rb
--------------------------------------
localized(I18n.available_locales, :verbose => true) do
match ''about'' => ''welcome#index'',
:as => :about
end
match ''XN--B1AGH1AFP'' =>
''welcome#index'', :as => :about
---------------------------------
in logs i have
-------------------------------------
Started GET "/привет" for 77.66.xxx.xxx at 2010-11-18 23:22:46 +0300
ActionController::RoutingError (No route matches "/\xD0\xBF
\xD1\x80\xD0\xB8\xD0\xB2\xD0\xB5\xD1\x82"):
Started GET "/привет" for 77.66.xxx.xxx at 2010-11-18 23:27:37 +0300
ActionController::RoutingError (No route matches "/\xD0\xBF
\xD1\x80\xD0\xB8\xD0\xB2\xD0\xB5\xD1\x82"):
Please give me an advice how to make it right .
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.
I think the problem can be your encoding. Try change this for your language . Sorry just i don''t know more. Att Andre http://www.andrefonseca.net -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
You might have better luck in the rails-i18n group: http://groups.google.com/group/rails-i18n It also looks like there is one specific to the routing plugin: http://groups.google.com/group/i18n-routing Hope that helps, Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Reasonably Related Threads
- virt-resize Fatal error: exception Guestfs.Error("e2fsck_f
- Re: virt-customize fail to inject firstboot script when running it from script.
- Re: virt-customize fail to inject firstboot script when running it from script.
- virt-customize fail to inject firstboot script when running it from script.
- R-help Digest, Vol 30, Issue 22