The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
UTF-8 Plugin for Rails, Fine for Ruby 1.8

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Red Handed

Posts: 1158
Nickname: redhanded
Registered: Dec, 2004

Red Handed is a Ruby-focused group blog.
UTF-8 Plugin for Rails, Fine for Ruby 1.8 Posted: Jan 16, 2006 9:36 AM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Red Handed.
Original Post: UTF-8 Plugin for Rails, Fine for Ruby 1.8
Feed Title: RedHanded
Feed URL: http://redhanded.hobix.com/index.xml
Feed Description: sneaking Ruby through the system
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Red Handed
Latest Posts From RedHanded

Advertisement

Here’s the story thus far. Ruby has no Unicode support in 1.8 (except for Regexps), but it is forthcoming and Matz has stated his intentions. In the meantime, there’s been a quiet work to scrape up Unicode-aware String classes.

Today, Manfred Stienstra has lobbed a bunch of details on using the new UTF-8 encoding plugin for Rails. You can certainly use just the String class extensions in any other traditional Ruby stuff.

By creating this plugin we haven’t resolved all our problems. One of the biggest problems is that we can only process UTF-8 encoded strings. [...] Sure, there are solutions like iconv to re-encode this data, but life would be a lot simpler if we didn’t have to think about this.

This plugin by Julian Tarkhanov does require the Unicode library.

Read: UTF-8 Plugin for Rails, Fine for Ruby 1.8

Topic: Refresh Phoenix January Meeting Previous Topic   Next Topic Topic: Generating the home page

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use