Remove guards for non-ASCII & non-Latin characters.
Removes automatic downcoding of non-ASCII characters.
Allows Unicode characters in all elements.
With the --warn-bare-unicode command line option, xml2rfc will warn if Unicode characters are present in any element that traditionally Unicode content is not allowed.
Traditionally, Unicode content is allowed in the following elements: artwork, city, cityarea, code, country, email, extaddr, organization, pobox, postalLine, refcontent, region, sortingcode, sourcecode, street, title, u.
With #895 bare use of Unicode characters is added to the t element. But it's implemented in such a way that --warn-bare-unicode warns about it. This PR will keep that warning.
This PR that does the following:
--warn-bare-unicode
command line option,xml2rfc
will warn if Unicode characters are present in any element that traditionally Unicode content is not allowed.Traditionally, Unicode content is allowed in the following elements:
artwork
,city
,cityarea
,code
,country
,email
,extaddr
,organization
,pobox
,postalLine
,refcontent
,region
,sortingcode
,sourcecode
,street
,title
,u
. With #895 bare use of Unicode characters is added to thet
element. But it's implemented in such a way that--warn-bare-unicode
warns about it. This PR will keep that warning.Fixes #960.