Changes between Version 9 and Version 10 of ParrotDeprecationsFor2.9

Show
Ignore:
Timestamp:
09/08/10 22:28:42 (11 years ago)
Author:
nwellnhof
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ParrotDeprecationsFor2.9

    v9 v10  
     1== Remove charset opcodes == 
     2 
     3=== Descripiton === 
     4 
     5The charset opcodes have been removed. 
     6 
     7=== Rationale === 
     8 
     9After the charset/encoding merge, they're unneeded. 
     10 
     11=== Replacement === 
     12 
     13Use the corresponding encoding opcodes instead. 
     14 
     15{{{ 
     16   /* old code */ 
     17   $I0 = charset $S0 
     18   $S1 = charsetname $I0 
     19   $I1 = find_charset "ascii" 
     20   $S2 = trans_charset $S0, $I1 
     21    
     22   /* updated code */ 
     23   $I0 = encoding $S0 
     24   $S1 = encodingname $I0 
     25   $I1 = find_encoding "ascii" 
     26   $S2 = trans_encoding $S0, $I1 
     27}}} 
     28 
     29The list of supported encodings is: 
     30 
     31{{{ 
     32ascii 
     33iso-8859-1 
     34binary 
     35utf8 
     36utf16 
     37ucs2 
     38ucs4 
     39}}} 
     40 
    141== Remove Parrot_PCCINVOKE == 
    242