Moodle

Portfolio Export doesn't support German Umlaute

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Minor Minor
  • Resolution: Unresolved
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Component/s: Portfolio API
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_20_STABLE

Description

German Umlaute are not exported correct from Forum posting. See screnshot
Version 2.0. 20080925

Activity

Hide
Penny Leach added a comment -

What plugin are you exporting to?

Show
Penny Leach added a comment - What plugin are you exporting to?
Hide
Ralf Hilgenstock added a comment -

This happens if I use the new "save" feature in a forum posting. Should this be moved to the forum area?

Show
Ralf Hilgenstock added a comment - This happens if I use the new "save" feature in a forum posting. Should this be moved to the forum area?
Hide
Penny Leach added a comment -

No, it's definitely a portfolio problem.

The plugin question relates to the portfolio plugins - at the moment in HEAD, there are portfolio plugins for 'file download','mahara', and 'box.net'. I guess maybe you're using file download.

Do you end up with a zip file to download or an individual file?

I think the problem is that because the HTML includes only a snippet, rather than the full <html> information, the encoding is being missed.

Show
Penny Leach added a comment - No, it's definitely a portfolio problem. The plugin question relates to the portfolio plugins - at the moment in HEAD, there are portfolio plugins for 'file download','mahara', and 'box.net'. I guess maybe you're using file download. Do you end up with a zip file to download or an individual file? I think the problem is that because the HTML includes only a snippet, rather than the full <html> information, the encoding is being missed.
Hide
Ralf Hilgenstock added a comment -

It's the file download. It create a html file. You can see it in the last line

example:

<br /><br /><table border="0" cellpadding="3" cellspacing="0" class="forumpost"><tr class="header"><td></td><td class="topic starter"><div class="subject">test</div><div class="author">by Ralf Hilgenstock - Freitag, 15 August 2008, 10:43 </div></td></tr><tr><td class="left side" valign="top"></td><td class="content"><p>t</p></td></tr></table>

<br /><br /><table border="0" cellpadding="3" cellspacing="0" class="forumpost"><tr class="header"><td></td><td class="topic"><div class="subject">Re: test</div><div class="author">by Ralf Hilgenstock - Donnerstag, 9 Oktober 2008, 08:50 </div></td></tr><tr><td class="left side" valign="top"></td><td class="content"><p>über den wolken</p></td></tr></table>

Show
Ralf Hilgenstock added a comment - It's the file download. It create a html file. You can see it in the last line example: <br /><br /><table border="0" cellpadding="3" cellspacing="0" class="forumpost"><tr class="header"><td></td><td class="topic starter"><div class="subject">test</div><div class="author">by Ralf Hilgenstock - Freitag, 15 August 2008, 10:43 </div></td></tr><tr><td class="left side" valign="top"></td><td class="content"><p>t</p></td></tr></table> <br /><br /><table border="0" cellpadding="3" cellspacing="0" class="forumpost"><tr class="header"><td></td><td class="topic"><div class="subject">Re: test</div><div class="author">by Ralf Hilgenstock - Donnerstag, 9 Oktober 2008, 08:50 </div></td></tr><tr><td class="left side" valign="top"></td><td class="content"><p>über den wolken</p></td></tr></table>
Hide
Penny Leach added a comment -

This HTML format thing is a bit of a problem actually. I will need to ask Martin what the best thing to do is - maybe it is required to wrap the exported content in <html> and add <head> with enctype information, but then that's problematic to render in different places that are just expecting a snippet of HTML. Also different export targets may have different requirements (html, xhtml, xhtml strict).

Show
Penny Leach added a comment - This HTML format thing is a bit of a problem actually. I will need to ask Martin what the best thing to do is - maybe it is required to wrap the exported content in <html> and add <head> with enctype information, but then that's problematic to render in different places that are just expecting a snippet of HTML. Also different export targets may have different requirements (html, xhtml, xhtml strict).

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: