Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

valueerror: all strings must be xml compatible: unicode or ascii, no null bytes or control characters

cleaned_string = ''.join(c for c in input_string if valid_xml_char_ordinal(c))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #strings #xml #unicode #null #bytes #control #characters
ADD COMMENT
Topic
Name
6+6 =