← Back to team overview

mahara-contributors team mailing list archive

[Bug 996172] Re: No unique directory for exporting multiple pages written in Japanese

 

> I suggest 2 solutions:
 > 1. Translate Unicode string to ASCII valid filename; or

URL Encoding (http://www.w3schools.com/tags/ref_urlencode.asp) are commonly used to translate unicode to ASCII.
But sometimes the result strings are too long to handle as file/directory names.

So, in my opinion, the simple naming scheme, in which we use page ID, is
better solution.

For example, translate

  http://maharahost/view/view.php?id=503

into

  503.html


 > 2. Enable Unicode filename for Mahara export function

This sounds good, but Japanese version of Windows cannot handle Unicode file names in ZIP files.
(It's OK in Japanese version of Mac OS X ;-)


** Bug watch added: maharahost/view/ #503
   http://maharahost/view/view.php?id=503

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/996172

Title:
  No unique directory for exporting multiple pages written in Japanese

Status in Mahara ePortfolio:
  In Progress

Bug description:
  When exporting multiple pages with "Standalone HTML web site" option,
  Mahara tries to write all pages, whose titles are written in Japanese,
  to same directory named "-".  As a result, just one page was
  successfully exported and all other pages were not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/996172/+subscriptions


References