Advertisement:

Author Topic: Problem with Language  (Read 6654 times)

Offline Mictian

  • Semi-Newbie
  • *
  • Posts: 10
Problem with Language
« on: January 20, 2005, 05:04:59 AM »
A friend of mine was kind enough to create a front Page to my forum.
Functions are that news are put up there from the forum.

The problem is that when a news topic is posted, and then shows up in the front page, the letters ÅÄÖ doesn't show.
Instead i get chinese symbols and squares.

Now I think the problem is that the code for the front page was written on a American PC.
But does anyone have a clue of how to fix it?

In the forums there is no problmem with ÅÄÖ, only on the front Page.

Thanks in Advance.

Offline Mictian

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problem with Language
« Reply #1 on: January 20, 2005, 06:50:05 AM »
No one had the same problem or even have a clue of how to fix it?
Im thinking if the problem can be solved if i rewerite the code on my own swedish machine.

But it is still the same code, so I'm not sure if it would make any difference at all..?

Offline Alexandre P.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,044
  • Gender: Male
    • LivreSansPage
Re: Problem with Language
« Reply #2 on: January 20, 2005, 02:47:20 PM »
Maybe the charset differs from your front page and the forum language pack's one?
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

Offline Mictian

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problem with Language
« Reply #3 on: January 21, 2005, 03:33:58 AM »
Oh!

Thank you, will look into it.

Offline Alexandre P.

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 2,044
  • Gender: Male
    • LivreSansPage
Re: Problem with Language
« Reply #4 on: January 21, 2005, 01:32:22 PM »
Look in /Themes/default/languages/index.[language].php, around line 17, for something like:
Code: [Select]
$txt['lang_character_set'] = 'ISO-8859-15';
This line should tell you what charset your language pack uses.
Aucun support par M.P., courriel ou messagerie instantanée / No support by P.M., email or I.M.

Offline Mictian

  • Semi-Newbie
  • *
  • Posts: 10
Re: Problem with Language
« Reply #5 on: March 02, 2005, 02:41:55 PM »
This is affecting everything I code whatsoever.
If I only open a file that has swedish letters in it, just open, don't do anything, then save and upload.

The ÅÄÖ signs won't show.

This is so frustrating I am thinking about chanign my nationalty, to a Russian and move there.

God damn..

Offline [Unknown]

  • SMF Friend
  • SMF Master
  • *
  • Posts: 36,102
  • Gender: Male
Re: Problem with Language
« Reply #6 on: March 17, 2005, 05:16:55 PM »
If I only open a file that has swedish letters in it, just open, don't do anything, then save and upload.

The ÅÄÖ signs won't show.

This is so frustrating I am thinking about chanign my nationalty, to a Russian and move there.

If you save it, and then open it again, do the symbols show?  What text editor are you using?

You might try saving the file as UTF-8 in your editor.

-[Unknown]