change encoding to utf-8 in several files#327
Conversation
|
This has been on hold until webwork switches to utf-8. Has that happened yet? |
|
No, not yet. I think the most recent pull request is the following: openwebwork/webwork2#800 Just today I added two more commits that fix a problem in the library browser (there were problems when subject, chapter or section contained non-ASCII characters). |
|
@jwj61 - WW 2.15 is expected to have the UTF-8 support. There is a branch for release 2.15, but it is still a beta version. See: openwebwork/webwork2#948 @heiderich - Maybe the change should just avoid use of either UTF-8 or Latin1 characters with the high-bit set (those which are invalid or could be misinterpreted when loaded as UTF-8).
or @drjt @mgage - Any suggestion on what should be the URL in copyright notices? |
|
I recommend setting the url to https://github.com/openwebwork. That's the most stable address at the moment and has the license files. Eventually we can use https://openwebwork.org but that is not set up properly right at the moment. Fortunately it's not to hard to make a global change. |
|
@taniwallach Thank for your suggestions. I agree that avoid using "high-bit set characters" would be preferable. This would probably make the OPL compatible with versions of WeBWorK that do not support UTF-8 as well as those that do.
Concerning the string for As for the text in the copyright line, I wonder whether |
|
@jwj61 I think this is ready to be merged. I have already changed the copyright symbol globally in all of the instances of course.conf that I could find. |
|
@jwj61 @mgage - Please wait. Let Florian change it to avoid the use of "high-bit set characters" so the files will be compatible with both versions of WW with and without UTF-8 support. @heiderich - The |
|
I also do not know what "��?" and "ÊÊ?" were. If there is agreement, I can
|
|
This sounds good to me. Thanks. |
and update copyright years from 2003 to 2019
mgage
left a comment
There was a problem hiding this comment.
these changes seem fine to me. I think JJ is on vacation this week and since this doesn't seem urgent I'll let him merge the changes if he approves them.
I converted these pg files to utf-8 in order to prevent problems with the forthcoming utf-8 compatible version of WeBWorK. With the iso-8859 encoding the OPL-update script would complain (and probably these problems would not render properly). Probably this should be pulled when WeBWorK switches to utf-8. On installations that still use the old WeBWorK these problems may cause problems. I fear that this problem is hard to avoid. Fortunately it affects only a few problems.