The 9th Bit: Encodings in Ruby 1.9

The 9th Bit: Encodings in Ruby 1.9

Ruby 1.9 is unusual among contemporary programming languages in that it allows you to choose the encoding used internally for strings. This feature gives Ruby 1.9 great power and flexibility for internationalization, but can be a source of problems and confusion, particularly for Ruby developers making the change from 1.8.

This talk will briefly go over the general concepts behind Ruby 1.9's Encoding API, and explain the motivations behind the design decisions Ruby made. We'll then spend most of the talk discussing the encoding-related challenges that you may face developing web applications in Ruby 1.9, and what you can do to avoid problems.

Talk given in English at Rubyconf Brasil in 2010.

B6621ca717b64e2e1717b2af82e3762b?s=128

Norman Clarke

January 31, 2012
Tweet