Issue Details (XML | Word | Printable)

Key: MDL-16827
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Penny Leach
Reporter: Ralf Hilgenstock
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle

Portfolio Export doesn't support German Umlaute

Created: 08/Oct/08 07:06 PM   Updated: 09/Oct/08 03:00 PM
Component/s: Portfolio API
Affects Version/s: 2.0
Fix Version/s: None

File Attachments: None
Image Attachments:

1. portexport.png
(26 kB)

Database: MySQL
Participants: Penny Leach and Ralf Hilgenstock
Security Level: None
Affected Branches: MOODLE_20_STABLE


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

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Penny Leach added a comment - 09/Oct/08 05:05 AM
What plugin are you exporting to?

Ralf Hilgenstock added a comment - 09/Oct/08 02:19 PM
This happens if I use the new "save" feature in a forum posting. Should this be moved to the forum area?

Penny Leach added a comment - 09/Oct/08 02:24 PM
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.


Ralf Hilgenstock added a comment - 09/Oct/08 02:53 PM
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>


Penny Leach added a comment - 09/Oct/08 03:00 PM
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).