-

Note: You are currently viewing documentation for Moodle 3.10. Up-to-date documentation for the latest stable version of Moodle may be available here: Import and export FAQ.

Import and export FAQ: Difference between revisions

From MoodleDocs
Line 56: Line 56:


== What encodings should I use? ==
== What encodings should I use? ==
The recommended standard encoding for all Moodle files is [[UTF-8]].


* See [http://moodle.org/mod/forum/discuss.php?d=62251 Importing Entries Using a Text File] for an example where a UTF-8 file with [http://en.wikipedia.org/wiki/Byte-order_mark BOM] caused Database Activity entries not being imported. See also MDL-9075 ("User Upload Failure when file contains UTF-8 BOM").
* See [http://moodle.org/mod/forum/discuss.php?d=62251 Importing Entries Using a Text File] for an example where a UTF-8 file with [http://en.wikipedia.org/wiki/Byte-order_mark BOM] caused Database Activity entries not being imported. See also MDL-9075 ("User Upload Failure when file contains UTF-8 BOM").
Line 61: Line 63:
See also:  
See also:  
* [http://morgretdesigns.wordpress.com/2008/03/07/changing-file-encoding-on-a-csv-with-openoffice-calc/ Changing File Encoding on a CSV with OpenOffice Calc]
* [http://morgretdesigns.wordpress.com/2008/03/07/changing-file-encoding-on-a-csv-with-openoffice-calc/ Changing File Encoding on a CSV with OpenOffice Calc]
* [http://www.internet-business-solutions.gr/lang-en/e-commerce/44-strategies/65-utf-8-csv UTF-8 CSV]
* [http://www.internet-business-solutions.gr/lang-en/e-commerce/44-strategies/65-utf-8-csv UTF-8 CSV]
* [[:Category:UTF-8]]


== See also ==
== See also ==

Revision as of 11:00, 9 July 2009

How do I import users?

How do I import course data?

How do I import and export grades?

How do I import glossary entries?

For details see Import glossary entries.

Two very useful tools are:

How do I import and export database entries?

See

How do I import and export questions?

Which formats are used for importing questions?

If you want to create questions outside of Moodle these two text based formats might be the most important:

  • GIFT - Moodle 'proprietary' text format for import and export. Reasonably comprehensive.
See GIFT format.
Here is a 2-column GIFT format reference sheet: GIFT Reference Sheet
  • Moodle XML - Moodle 'proprietary' xml format for import and export. Very comprehensive.


You find the complete list of supported formats under Import questions.

Which file formats can I use?

What encodings should I use?

The recommended standard encoding for all Moodle files is UTF-8.

See also:

See also