← Back to team overview

mahara-contributors team mailing list archive

[Bug 1756904] Re: UTF8 character encoding problem in HTML export

 

One of the things we should cater for is the problem of invalid chars in
filepath names


There are a bunch of chars that we should avoid using that Windows doesn't like:

< (less than)
> (greater than)
: (colon - sometimes works, but is actually NTFS Alternate Data Streams)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
? (question mark)
* (asterisk)

see: https://stackoverflow.com/questions/1976007/what-characters-are-
forbidden-in-windows-and-linux-directory-names

Even though linux can handle most of those we are doing an export so are
not knowing what system the export will be imported into. So better to
make things more compatible by dealing with those chars during export
and replacing them with something more useful like _ or -

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1756904

Title:
  UTF8 character encoding problem in HTML export

Status in Mahara:
  Confirmed

Bug description:
  - Tested in demo.mahara.org
  - Client Os : Windows
  - Chrome 64.0.3282.186, Firefox 58.0.2, Microsoft Edge 41.16299.248.0

  Steps to reproduce

  - Create a Portfolio page with UTF8 accents in Title.
  - Export to HTML with "All my data"
  - Url to the page in index.html contains accents
  - Look in the archive /views/ and the folder's page name contains undefined characters (Windows)

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


References