Unicode won't display properly in teacher answer box
Number of replies: 13Re: Unicode won't display properly in teacher answer box
update..... it appears wrong in the student box as well, but it is the correct font, just not showing the Unicode characters. I've setup a test student account for people to look at... it's http://moodle.tulalipdata.com:8080 with user tester and pswd tester.
An example is under the staff course 101 and quiz... I have one question listed.... the correct answer should tart off with a glottal stop... (a question mark w/o a period), followed by a u and then a g with a raised w... this is what the first three letters should look like. I just get small boxes. The same question appears in the first HotPot quiz drill 1. Because the Unicode has a lot of glyphs superscript etc... I wonder if the text box is too small in height?
Re: Unicode won't display properly in teacher answer box
Just visited your test course at http://moodle.tulalipdata.com:8080/, Lushootseed ► Staff 101 ► Quizzes ► təb
However, I have no clue what answer is expected in question 1 : I invted you!
Plus, if expected answer involves using special characters (unicode), how do you expect the students to enter them? I mean, can they just use their normal keyboard keys, a combination of keys, or type the answer in e.g. their word processor then copy and paste into the answer box? or what else?
Joseph
Re: Unicode won't display properly in teacher answer box
The students have Keyman, utilizing the Lucida Sans Unicode Font. Our tribes has it's own font, but it's not unicode. Since none of the editors on the moodle site have a unicode font I can't show you the characters. U+0294 is a Glottal stop, U+0063 U+0315 is a glotallized c, U+0067 U+02B7 is a g raised w, U+0071 U+0313 U+02B7 is a glottalized q raised w.
Joseph... thanks for your help
It would be helpful if a unicode font was available on this site, since unicode is suggested as the answer for many language problems.
Re: Unicode won't display properly in teacher answer box
Hi Dave,
Here is a solution for your problem (using Moodle 1.8).
1. In ► Administration ► Appearance ► HTML Editor
Font family editor fontfamily: at the end of the list of fonts, add ,Lucida Sans Unicode
at the end of Font list editor fontlist, add:
Lucida Sans Unicode | Lucida Sans Unicode
2. At the end of one of your current theme's CSS stylesheets, add this declaration:
.que .answer input {font-family: "Lucida Sans Unicode";}
In teacher questions edit mode, short answer question type, type the answers to your questions using your usual (keyman) editor for Unicode characters.
In student mode, answers will be correctly displayed, see attached screen shot.
Hope that helps.
Joseph

Re: Unicode won't display properly in teacher answer box
Joseph;
Thanks for your help! I had already added Lucida Sans Unicode to the html editor, though I moved it to the top. Students can answer now and see the correct font. I wish I could see it correctly when I enter the answer, but I suppose I could copy and paste from another editor. What might be the code to make the over all size bigger in the question area, or can I just overall make the fonts bigger in the css?
Again a big thanks for the help!
Re: Unicode won't display properly in teacher answer box
add this to one of your CSS files:
.felement.ftext input {font-family:Lucida Sans Unicode}What might be the code to make the over all size bigger in the question area
What do you mean by "the question area" exactly? Maybe post a screen dump showing where you want bigger font. If you want bigger font in the input boxes, just add a font-size declaration to your CSS, e.g.:
.que .answer input, .felement.ftext input { font-family: "Lucida Sans Unicode"; font-size:1.5 em; }Joseph
Re: Unicode won't display properly in teacher answer box
It would be helpful if a unicode font was available on this site, since unicode is suggested as the answer for many language problems.
Vote for this bug report: MDL-10751Re: Unicode won't display properly in teacher answer box
Re: Unicode WILL display properly on these forums!
Hi all!
In response to MDLSITE-237 Martin D. has finally added the Lucida Sans Unicode font to moodle.org so we can use it on these forums. I could not find "Happy New Year" in the Tulalip Lushootseed language, so I am wishing you a belated Merry Christmas in that language:
haʔɫ pədx̌aʔx̌aʔ.
Please check that the above looks like the attached screen shot and report display success or failure, mentioning your platform and brower version. It works for me on Windows XP, FireFox 2.0 and MSIE 7.0.
Joseph

Re: Unicode WILL display properly on these forums!
Re: Unicode WILL display properly on these forums!
Re: Unicode WILL display properly on these forums!
Joseph
Re: Unicode WILL display properly on these forums!
It SHOULD because in source code you have
span style="font-family: lucida sans unicode,lucida grande,arial unicode ms,san-serif;"
and Lucida Grande is included with the Mac OS X operating system. Great!!!
(However Arial Unicode MS has 38917 chars and 50377 glyphs, Lucida Sans Unicode has 1765 chars and 1776 glyphs and Lucida Grande has 2245 chars and 2826 glyphs...)
♡♠♢♣♔♕♖♗♘♙♚♛♜♝♞
♡♠♢♣♔♕♖♗♘♙♚♛♜♝♞