0
Welcome Guest! Login
0 items Join Now

An odd character problem - not template related...

    • 's Avatar

    An odd character problem - not template related...

    Posted 17 years 2 months ago
    • Well I have been sitting with this character problem for ages and I have no clue what is going on. I hope someone can add some light to this.

      I have made a site for a Danish customer, and that of course includes the 3 danish letters æ, ø and Å.

      I have changed the language file, added the right ISO specifications and it seems to work. All over the site these Danish characters are showing as they should.

      But I have a news flash extension running, that doesn't like the Danish characters in the headlines. If I refresh the site the headlines will show like they should, but after the first slide has been activated they are back to not showing right.

      I have tried with a couple of extensions and they all do the same. But it is only in the headlines of the news flash the problem exist. The main content of the news flash is showing as it should.

      I have tried other templates, RT, JA etc.. same problem.

      I have tried to make a couple of new news flash entries to test it out and they are also destroyed in the headlines, so it's not some old stuff kicking in I reckon...

      I know this might be down to Ajax not being able to run other ISO systems, but there is some js scripting that fixes this if the function is installed on the server, and it is....

      Bottom line I have no clue why the problem is only showing in the headline and not all over the site?

      I have attached a screenshot in order to explain it better.

      Any comments and ideas are VERY much appreciated.

      Thanks in advance
      Thomas
    • Last Edit: 17 years 2 months ago by .
    • 's Avatar

    Re: An odd character problem - not template related...

    Posted 17 years 2 months ago
    • Well ignore this post I got it sorted :D

      It was down to AJAX and non UTF-8 characters. Even though the various ajax news flash extensions did have build in some script to sort this problem out it was not working.

      The solution was this:

      In the top of the AJAX extensions php file add the following:
      header('Content-Type: text/html; charset=ISO-8859-1');
  • Re: An odd character problem - not template related...

    Posted 17 years 2 months ago
    • Thomas wrote:
      Well ignore this post I got it sorted :D

      It was down to AJAX and non UTF-8 characters. Even though the various ajax news flash extensions did have build in some script to sort this problem out it was not working.

      The solution was this:

      In the top of the AJAX extensions php file add the following:
      header('Content-Type: text/html; charset=ISO-8859-1');


      This might be a funny questions :( but I was wondering where the Ajax extensions php file is located :)

      I only find xajax.system.php on my server.

      I am having the same problem with Icelandic language.
    • Last Edit: 17 years 2 months ago by Langworth Asgerdur Edda.
    • 's Avatar

    Re: An odd character problem - not template related...

    Posted 17 years 2 months ago
    • Well it depends on the extension you are having problem with. My error was not showing on the entire site just for one extension.

      In my case it was a ja_news module that didn't work, so I found the folder for that module and added it to the main php file for the module.

      Again this is not for the whole site, just for 1 extension.
  • Re: An odd character problem - not template related...

    Posted 17 years 2 months ago
    • Thomas wrote:
      Well it depends on the extension you are having problem with. My error was not showing on the entire site just for one extension.

      In my case it was a ja_news module that didn't work, so I found the folder for that module and added it to the main php file for the module.

      Again this is not for the whole site, just for 1 extension.

      Does it make a difference where in the file you place the code?

      The website is: lambakjot.vefir.net
  • Re: An odd character problem - not template related...

    Posted 17 years 2 months ago
    • Langworth Asgerdur Edda wrote:
      Thomas wrote:
      Well it depends on the extension you are having problem with. My error was not showing on the entire site just for one extension.

      In my case it was a ja_news module that didn't work, so I found the folder for that module and added it to the main php file for the module.

      Again this is not for the whole site, just for 1 extension.

      Does it make a difference where in the file you place the code?

      The website is: lambakjot.vefir.net


      I have figured out the problem. It had to do with the RockMediaScroller. When I publish it, all Icelandic characters in the site change to odd symbols.
    • 's Avatar

    Re: An odd character problem - not template related...

    Posted 17 years 2 months ago
    • Ok glad you got it sorted or at least figured out what it was...
      I can't remember the files that comes with that extension, but I am sure you can do something similar to it though...

Time to create page: 0.057 seconds