use Encode - yokohama.pm#6 x perl-casual#3
Upcoming SlideShare
Loading in...5
×
 

use Encode - yokohama.pm#6 x perl-casual#3

on

  • 1,124 views

 

Statistics

Views

Total Views
1,124
Views on SlideShare
1,069
Embed Views
55

Actions

Likes
0
Downloads
1
Comments
0

1 Embed 55

http://blog.livedoor.jp 55

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

use Encode - yokohama.pm#6 x perl-casual#3 use Encode - yokohama.pm#6 x perl-casual#3 Presentation Transcript

  • use Encode; @xaicron 2010/07/23 yokohama.pm over perlcasual 2010 7 24
  • • Yuji Shimada / • twitter: @xaicron • work: DeNA 2010 7 24
  • 2010 7 24
  • decode encode 2010 7 24
  • 2010 7 24
  • WARNING!! 2010 7 24
  • • require jcode.pl; • use encoding ‘euc-jp’; • use open IN => ‘:encoding(euc-jp)’; • ( use Jcode ) 2010 7 24
  • 2010 7 24
  • 2010 7 24
  • what’s Encode? 2010 7 24
  • 2010 7 24
  • perl flagged utf8 2010 7 24
  • 2010 7 24
  • 2010 7 24
  • 2010 7 24
  • octet base character base 2010 7 24
  • Core Module 2010 7 24
  • maintainer is dankogai 2010 7 24
  • 2010 7 24
  • WARNING!! 2010 7 24
  • perl 5.8.1 5.8.8 2010 7 24
  • 2010 7 24
  • 2010 7 24
  • decode ! 2010 7 24
  • • @ARGS • STDIN, • DB • HTTP • etc.. 2010 7 24
  • 2010 7 24
  • 2010 7 24
  • encode 2010 7 24
  • • STDOUT, STDERR • • DB • HTML • etc.. 2010 7 24
  • 2010 7 24
  • • decode • • encode • 2010 7 24
  • • • 2010 7 24
  • • • length 2010 7 24
  • • • length • substr split 2010 7 24
  • $ perl -E ‘say length “ ”’ 15 $ perl -MEncode -E ‘say length decode utf8 => “ ”’ 5 2010 7 24
  • Encode use strict; use warnings; use Encode; my $str = decode utf8 => “ ”; # do something... print encode utf8 => $str; 2010 7 24
  • 2010 7 24
  • Web http://perl-users.jp/articles/advent-calendar/2009/casual/ 10.html 2010 7 24