• About: I blog about Perl.
  • Commented on shortcomings of perl
    I'm not understand problem with unicode. Still on perl version v5.8.8: echo "café" | perl -MEncode -lpe' $_=Encode::decode("utf8",$_); substr($_, -1, 1) = "e"; Encode::encode("utf8",$_)' # output: cafe In Ruby or Python this is not possible? I'm under table....
Subscribe to feed Recent Actions from close.screen

  • vsespb commented on shortcomings of perl

    Ruby 1.9x - possible

    $echo café|ruby 5.rb

    $cat 5.rb
    # encoding: utf-8
    putsé/, 'e')

    > I'm not understand problem with unicode.

    see above comments from @Nick about

Subscribe to feed Responses to Comments from close.screen

About is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.