Help for this page

Select Code to Download


  1. or download this
    From: Larry Wall <larry@wall.org>
    Date: December 04, 2004 11:51:58 JST
    ...
    make it easy to switch back to lax.
    
    Larry
    
  2. or download this
    encode("utf8",  "\x{FFFF_FFFF}", 1); # okay
    encode("UTF-8", "\x{FFFF_FFFF}", 1); # croaks
    
  3. or download this
    find_encoding("UTF-8")->name # is 'utf-8-strict'
    find_encoding("utf-8")->name # ditto. names are case insensitive
    find_encoding("utf_8")->name # ditto. "_" are treated as "-"
    find_encoding("UTF8")->name  # is 'utf8'.