diff options
author | Dylan Baker <baker.dylan.c@gmail.com> | 2016-03-29 09:52:35 -0700 |
---|---|---|
committer | Dylan Baker <baker.dylan.c@gmail.com> | 2016-03-31 15:08:37 -0700 |
commit | 4152f7b185bc7f6fb2ebc945f3a2e2117dabf365 (patch) | |
tree | 0a4f0f76b23929742386acbec0a4cc53f7c5c83b /src/mapi/glapi/gen/gl_apitemp.py | |
parent | 01855d5bc5bcc554d3456355bbd9228e58b4fdd7 (diff) |
glapi: encode python files in utf-8 rather than ascii
This allows, among other things, the proper use of the Copyright symbol
in the copyright header (which this patch also does).
It cannot be used in the printed templates however, because they are
printed, not directly written to a file. If a user doesn't have a UTF-8
locale (or has an operating system that doesn't have UTF-8 support)
then that would fail.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Diffstat (limited to 'src/mapi/glapi/gen/gl_apitemp.py')
-rw-r--r-- | src/mapi/glapi/gen/gl_apitemp.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_apitemp.py b/src/mapi/glapi/gen/gl_apitemp.py index 50a599a85e..9a695cbab4 100644 --- a/src/mapi/glapi/gen/gl_apitemp.py +++ b/src/mapi/glapi/gen/gl_apitemp.py @@ -1,6 +1,7 @@ #!/usr/bin/env python +# encoding=utf-8 -# (C) Copyright IBM Corporation 2004, 2005 +# © Copyright IBM Corporation 2004, 2005 # All Rights Reserved. # # Permission is hereby granted, free of charge, to any person obtaining a |