ATutor

Learning Management Tools







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


content encoding


  • 2007-11-01 10:27:58

    content encoding

    When creating, editing etc content in my native language (greek - iso-8859-7) the greek text is saved encoded.
    For instance, the greek 'a' is stored as &alpha. This doesn't have any effect in the viewing, presentation, export etc of the content, but it messes up the search. In order to find for instance the word 'ka' i would have to enter in the filter: '&kapa&alpha'. if i enter 'ka' it doesn't find anything...

    I believe i have to change the encoding in the embedded html text editor. is that right?
    if yes, where from can i do that???

    Things to describe:
    operating system - Ubuntu 7.04
    version of ATutor - 1.5.5
    versions of php - 5.2.1
    version of mysq l - 5.0.38-Ubuntu_0ubuntu1.1-log
    webserver & version - Linux lamp 2.6.20-16-server #2
    copies of error messages -
    changes to default settings - in table AT_languages, i changed the encoding for the english to iso-8859-7.
    web browser being used - mozilla firefox/explorer
    and anything else relevant -

  • 2007-11-01 10:45:45

    Re: content encoding

    Hello,

    Did you type in "ka" where "a" is in English? Or did you type in k'alpha'?

  • 2007-11-01 20:23:00

    Re: content encoding

    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 -

  • 2007-11-02 04:06:19

    Re: content encoding

    testing.....

    &alpha

  • 2007-11-02 04:10:31

    Re: content encoding

    ok! i just saw that in my exaple that the & a l p h a was turnded into . So that must have messed up my example a bit!

    My problem is that the greek letters are stored encoded:
    -> & a l p h a

    and so when i try to search (filter) searching for '' does not return results, while searching for '& alpha' does....

  • 2007-11-02 09:09:20

    Re: content encoding

    tis ok. got it!

    you have to open ATutor/jscripts/tiny_mce.js (not tiny_mce_src.js !!!) and change entity_encoding from 'named' to 'raw'