Changeset 76 for pycgibattler/trunk


Ignore:
Timestamp:
12/23/10 01:47:00 (14 years ago)
Author:
atzm
Message:

korobanu saki no tsue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pycgibattler/trunk/index.cgi

    r75 r76  
    145145            lc.lslide(i) 
    146146            sk = lc.choose(skill_data) 
    147             skname = sk['name'].encode('utf-8') 
     147            skname = sk['name'].encode('utf-8', 'replace') 
    148148            skpoint = sk['point'] 
    149149            sktype = getattr(pycodebattler.skill, sk['type']) 
     
    212212    tmpl.result = result 
    213213    sys.stdout.write('Content-type: text/html; charset=UTF-8\r\n\r\n') 
    214     sys.stdout.write(tmpl.respond().encode('utf-8')) 
     214    sys.stdout.write(tmpl.respond().encode('utf-8', 'replace')) 
    215215    sys.stdout.flush() 
    216216 
Note: See TracChangeset for help on using the changeset viewer.