Help for this page

Select Code to Download


  1. or download this
    perl -C63 -MDevel::Peek -Mutf8 -le '$_="(\x{5fcd} Guimarăes)"; Dump($_
    +); print length($_); print'
    SV = PV(0x8154b00) at 0x8153bd4
    ...
      CUR = 16
      LEN = 20
    13
    
  2. or download this
    perl -C63 -MDevel::Peek -Mutf8 -MUnicode::Normalize -le '$_="(\x{5fcd}
    + Guimarăes)"; $_ = NFD $_; Dump($_); print length($_); print'
    SV = PV(0x8154b00) at 0x8153bd4
    ...
      CUR = 17
      LEN = 20
    14
    
  3. or download this
    perl -C63 -MDevel::Peek -Mutf8 -mText::CharWidth=mbswidth -le '$_="(\x
    +{5fcd} Guimarăes)"; Dump($_); print mbswidth($_); print'
    SV = PV(0x8154b00) at 0x8153bd4
    ...
      CUR = 16
      LEN = 20
    14
    
  4. or download this
    perl -C63 -MDevel::Peek -Mutf8 -mEncode=encode_utf8 -le '$_="(\x{5fcd}
    + Guimarăes)"; Dump($_); print length(encode_utf8 $_)'
    SV = PV(0x8154b00) at 0x8153bd4
    ...
      CUR = 16
      LEN = 20
    16