Ignore:
Timestamp:
16/09/15 18:38:48 (5 years ago)
Author:
mjuckes
Message:

partial migration to dreq2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/workbook/utils_wb.py

    r383 r384  
    1818          ss = string.replace( ss, u'\u2018', "'" ) 
    1919          ss = string.replace( ss, u'\u2019', "'" ) 
     20          ss = string.replace( ss, u'\u201c', "'" ) 
     21          ss = string.replace( ss, u'\u201d', "'" ) 
    2022          ss = string.replace( ss, u'\u2026', '...' ) 
     23## 2022: bullet 
     24          ss = string.replace( ss, u'\u2022', '*' ) 
    2125          ss = string.replace( ss, u'\u25e6', 'o' ) 
     26### xb0: degree symbol 
     27          ss = string.replace( ss, u'\xb0', 'o' ) 
     28          ss = string.replace( ss, u'\xb1', '+/m' ) 
    2229          ss = string.replace( ss, u'\xb2', '2' ) 
    2330          ss = string.replace( ss, u'\xb3', '3' ) 
     31## xa0: non-breaking space 
     32          ss = string.replace( ss, u'\xa0', ' ' ) 
     33          ss = string.replace( ss, u'\xfc', 'ue' ) 
    2434          if jsFilt: 
    2535            ss = string.replace( ss, '"', "'" ) 
Note: See TracChangeset for help on using the changeset viewer.