Hello, how do you solve the problems with czech characters? Do you use unicode or ISO-8859-2/WIN1250? How do use methods like String:upcase etc. that dont use czech characters? I would appreciate any hints for this. Thanks, David Marko -- Posted via http://www.ruby-forum.com/.
Hello, how do you solve the problems with czech characters? Do you use unicode or ISO-8859-2/WIN1250? How do use methods like String:upcase etc. that dont use czech characters? I would appreciate any hints for this. Thanks, David Marko -- Posted via http://www.ruby-forum.com/.
guest@example.com
2006-Apr-10 13:57 UTC
[Rails] Re: Are there any Czech people using Rails?
David Marko wrote:> Hello, > how do you solve the problems with czech characters? Do you use unicode > or ISO-8859-2/WIN1250? How do use methods like String:upcase etc. that > dont use czech characters? > > I would appreciate any hints for this. > > Thanks, > David MarkoI''m not Czech but I have experience with multilingual sites. I strongly recommend unicode because it will save you from lots of headaches later. It only requires some initial configuration (database encoding, KCODE, http header, editor settings). Check the wiki for more detailed description. If you install the ''unicode'' gem then you get methods like Unicode.upcase etc. -- Posted via http://www.ruby-forum.com/.
Ahoj Davide, did you fix it already? There has been a similar topic on that (but I didn''t try it): http://www.ruby-forum.com/topic/61481#61086 Martin On 4/8/06, David Marko <dmarko@tiscali.cz> wrote:> > Hello, > how do you solve the problems with czech characters? Do you use unicode > or ISO-8859-2/WIN1250? How do use methods like String:upcase etc. that > dont use czech characters? > > I would appreciate any hints for this. > > Thanks, > David Marko > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060414/e94ce47d/attachment.html
I have read a several threads about using unicode, but it seems to be like a big hammer . I decided to use ISO-8859-2 and redefined String methods for upcase, downcase, swapcase etc. and Array sorting method to work correctly. It was easy but not sure if its a best way. How do you solve this in you apps? PS: I know we both talk czech but I decided to still use english to remain this thread usable for others. David -- Posted via http://www.ruby-forum.com/.
Actually, I haven''t been using other languages besides English in my apps yet. But the time will come, so I''m trying to follow up on this subject and see how others are dealing with it. I''m sure I''ll get back to it later. Till then I hope this issue will become obsolete ... :-) PS: I know we both talk czech but I decided to still use english to> remain this thread usable for others. > > So did I ...Z Berlina zdravi Martin ;-) On 4/14/06, David Marko <dmarko@tiscali.cz> wrote:> > I have read a several threads about using unicode, but it seems to be > like a big hammer . I decided to use ISO-8859-2 and redefined String > methods for upcase, downcase, swapcase etc. and Array sorting method to > work correctly. It was easy but not sure if its a best way. > > How do you solve this in you apps? > > PS: I know we both talk czech but I decided to still use english to > remain this thread usable for others. > > > David > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060414/fc9c4520/attachment.html