Skip to content

Commit

Permalink
Switch to utf-8 encoding for Python scripts
Browse files Browse the repository at this point in the history
We use only the ASCII character set, so switching is straightforward.
  • Loading branch information
DimitriPapadopoulos committed Jan 22, 2025
1 parent a3c7457 commit 2d13925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xsd-fu/python/generateDS/generateDS.html
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ <h2><a class="toc-backref" href="#id68">13.1&nbsp;&nbsp;&nbsp;Capturing xs:date
<p>Then, define <tt class="docutils literal"><span class="pre">date_calcs.py</span></tt> as:</p>
<pre class="literal-block">
#!/usr/bin/env python
# -*- mode: pymode; coding: latin1; -*-
# -*- mode: pymode; coding: utf-8; -*-

import datetime

Expand Down
2 changes: 1 addition & 1 deletion xsd-fu/python/generateDS/process_includes.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# -*- mode: pymode; coding: latin1; -*-
# -*- mode: pymode; coding: utf-8; -*-
"""
Synopsis:
Recursively process the include elements in an XML Schema file.
Expand Down

0 comments on commit 2d13925

Please # to comment.