def char_repl(x):
r = "<STR_LIT>"<EOL>for c in x:<EOL><INDENT>if ord(c) > <NUM_LIT:255>:<EOL><INDENT>r += "<STR_LIT:?>"<EOL><DEDENT>else:<EOL><INDENT>r += c<EOL><DEDENT><DEDENT>return r<EOL>
A little embarrassing: couldn't figure out how to avoid crashes when
    hardcore unicode occurs in description fields ...