problems importing questions from file gift

problems importing questions from file gift

by rosa maria gamallo torres -
Number of replies: 3

Why, for the first question in my file gift, the name, which is between :: is taken like the text of the question?

sorry, I'm not speak english...

I send my file to help you

 

than you ver much.

Average of ratings: -
In reply to rosa maria gamallo torres

Re: problems importing questions from file gift

by Sakshi Goel -

Hello Rosa,

i have tested your .gift file in my moodle version 2.4.3 and it is working perfectly.

Can you please tell what moodle version you are using

In reply to rosa maria gamallo torres

Re: problems importing questions from file gift

by Jean-Michel Védrine -

hello Rosa Maria,

Your problem is caused by the fact the editor you used to create your file has included a byte order mark at the beginning of the file.

Use a text editor that permit you to create UTF-8 files without byte order mark and the first question name will be taken into account.

I personally use Notepad++, an excellent and free text editor that easily permit to choose encoding and also choose to add or not a byte order mark, but there are many other free editors available.

In reply to Jean-Michel Védrine

Re: problems importing questions from file gift

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

And to explain what Sakshi saw, as of some months ago, we fixed Moodle to ingore the byte-order-mark if present, so it no longer causes a problem.

Average of ratings: Useful (1)