Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2471

Add lesson wizard doesn't display UTF8 properly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.4, 2.3.4
    • Component/s: Monitor
    • Labels:
      None
    • Environment:
      Windows

      Description

      On a LAMS server running on Windows: use the add lesson wizard to create a lesson; make sure the lesson name contains characters requiring utf8. Once added, the lesson name displays as rubbish - the database entry is also rubbish.

      Cause: it seems the swf is sending the lesson name and description unencoded - hence they are created without the proper encoding. This doesn't happen when a lesson is created via preview (in this case you have to change locale so that the word 'preview', used as the lesson name, is displayed in utf8)

      TODO - check that strings are sent as utf8, check that the group name in the title bar is displayed in utf8, and that displaying the group name has no problems with apostrophes or other characters.
      1. startlessongreek.JPG
        67 kB

        Activity

        Hide
        jundirl Jun-Dir Liew added a comment -
        Modified title to reflect general issue with add lesson swf - in addition to not passing on the lesson name in utf8, it doesn't display the group name if it was encoded in utf8. See http://lamscommunity.org/dotlrn/clubs/technicalcommunity/forums/attach/download/Add+a+Lesson+(UTF+problem)?object_id=910985&attachment_id=910988
        Show
        jundirl Jun-Dir Liew added a comment - Modified title to reflect general issue with add lesson swf - in addition to not passing on the lesson name in utf8, it doesn't display the group name if it was encoded in utf8. See http://lamscommunity.org/dotlrn/clubs/technicalcommunity/forums/attach/download/Add+a+Lesson+(UTF+problem)?object_id=910985&attachment_id=910988
        Hide
        jundirl Jun-Dir Liew added a comment -
        swf also didn't display the full course name where the name had an apostrophe in it - stopped just before the apostrophe.
        Show
        jundirl Jun-Dir Liew added a comment - swf also didn't display the full course name where the name had an apostrophe in it - stopped just before the apostrophe.
        Hide
        jundirl Jun-Dir Liew added a comment -
        updating original description
        Show
        jundirl Jun-Dir Liew added a comment - updating original description
        Hide
        jundirl Jun-Dir Liew added a comment -
        Attaching a lams.jar that fixes the issue with the lesson names and descriptions (from the LAMS side).
        Show
        jundirl Jun-Dir Liew added a comment - Attaching a lams.jar that fixes the issue with the lesson names and descriptions (from the LAMS side).
        Hide
        lfoxton Luke Foxton added a comment -
        Looks like this issue is fixed for 2.4, so I'll work out how and add the fix for 2.3.4
        Show
        lfoxton Luke Foxton added a comment - Looks like this issue is fixed for 2.4, so I'll work out how and add the fix for 2.3.4
        Hide
        lfoxton Luke Foxton added a comment -
        Merged head changes with branch so that it would be fixed. This issue does not exist on head
        Show
        lfoxton Luke Foxton added a comment - Merged head changes with branch so that it would be fixed. This issue does not exist on head
        Hide
        ernieg Ernie Ghiglione added a comment -
        Tested and closed
        Show
        ernieg Ernie Ghiglione added a comment - Tested and closed
        Hide
        ernieg Ernie Ghiglione added a comment -
        tested and closed for 2.3.4 and 2.4
        Show
        ernieg Ernie Ghiglione added a comment - tested and closed for 2.3.4 and 2.4

          People

          • Assignee:
            lfoxton Luke Foxton
            Reporter:
            jundirl Jun-Dir Liew
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development