ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Cyrillic Encoding


  • 2005-03-15 08:19:28

    Cyrillic Encoding

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -Linux Fedora Core 2
    version of ATutor -1.4.3
    versions of php -4.3.8
    version of mysq l -3.23.58
    webserver & version -Apache 2.00.49
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -

  • 2005-03-15 08:29:06

    Encoding Cyrillic

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    operating system -
    version of ATutor -
    versions of php -
    version of mysq l -
    webserver & version -
    copies of error messages -
    changes to default settings -
    web browser being used -
    and anything else relevant -
    i have a problem with displaing cyrillic symbols in question db.
    I have a fresh Atutor 1.4.3 installation with Atutor1.4.3 Russian Pack.
    (which system i write before)
    I adding some kind of questions(in cyrillic symbols) in question db. When i looking in question database question in cyrillic displaing in wrong symbols.
    ( in my browser coding sets rigth)
    So i like to know in which file i can change somethig to change display symbol coding?

  • 2005-03-15 08:52:32

    Broken Char set

    The "1" seems to be missing from the Character set definition. it should be russian-windows-1251 instead of russian-windows-125.

    You can change this in the language table of the ATutor database. If that does not fix the problem, you could try changing the character set to utf-8. This may break some of the other language, which you can fix through the Language Manager by retyping the broken language.

  • 2005-03-16 06:57:57

    Encoding Cyrillic

    i had change for Russian Language "Character Set" from "russian-windows-125" to "russian-windows-1251" but cyrillic question in a page question database still show in wrong coding.
    I also change "Character Set" to utf-8 but in this case i that all messages ( not only questions) shows in bad (so bad) symbols.
    (when i changed to utf-8 i also changed web browser setting to utf-8).
    I think it's problem with "myatutor_instalation/tools/tests/question_db.php" script when loading question from AT_tests_questions table or wrong chars coding when displaing questions.

  • 2005-03-16 08:53:15

    Unable to reproduce

    As far as I can tell with our local installations the character set is being set properly.

    Visit the translation forum and post a message to one of the Russin threads to see if anyone else is experiencing this problem, or has a solution.

  • 2005-03-23 07:06:01

    Change Coding

    Now i know how to resolve this problem:
    if file ../include/html/[b]tests_questions.inc.php[/b] add some parameters into function [b] htmlentities [/b] .
    You must change htmlentites from [b] htmlentities($row['question']) [/b] to [b] htmlentities($row['question'], ENT_COMPAT, 'cp1251') [/b].
    You must do this twice: in line 72 and 74