Skip to content

Commit

Permalink
Merge pull request #280 from alexef/master
Browse files Browse the repository at this point in the history
Replace utf8 with utf-8 for gettext/django compatibility
  • Loading branch information
SimonSapin committed Nov 25, 2015
2 parents dcf4059 + 93f497b commit 4e8fc27
Show file tree
Hide file tree
Showing 48 changed files with 48 additions and 48 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
WeasyPrint
==========
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
WeasyPrint
==========
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.__main__
-------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/compat.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.compat
-----------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/css/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.css
--------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/css/computed_values.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.css.computed_values
------------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/css/properties.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.css.properties
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/css/validation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.css.validation
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/document.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.document
-------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/draw.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.draw
---------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/formatting_structure/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.formatting_structure
-------------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/formatting_structure/boxes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.formatting_structure.boxes
-------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/formatting_structure/build.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.formatting_structure.build
-------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/formatting_structure/counters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.formatting_structure.counters
----------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/html.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

# coding: utf8
# coding: utf-8
"""
weasyprint.html
---------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/images.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.images
-----------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout
-----------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/absolute.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.absolute
-------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/backgrounds.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.backgrounds
----------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/blocks.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.blocks
------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/float.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.float
----------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/inlines.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.inline
------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/markers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.markers
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/min_max.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.min_max
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/pages.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.pages
-----------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/percentages.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.percentages
-----------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/preferred.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.preferred
---------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/replaced.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.replaced
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/layout/tables.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.layout.tables
------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/logger.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.logging
------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/navigator.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.navigator
--------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/pdf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
r"""
weasyprint.pdf
--------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/stacking.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.stacking
-------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests
----------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_api
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_boxes.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_boxes
---------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_css.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_css
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_css_validation.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_css_properties
------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_draw.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_draw
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_layout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.layout
-----------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_pdf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_pdf
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_stacking.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.stacking
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_text.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_text
--------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_web/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_web
-------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/test_web/run.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env python
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.test_web.run
-----------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/tests/testing_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.tests.testing_utils
------------------------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/text.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.text
---------------
Expand Down
2 changes: 1 addition & 1 deletion weasyprint/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# coding: utf8
# coding: utf-8
"""
weasyprint.utils
----------------
Expand Down

0 comments on commit 4e8fc27

Please sign in to comment.