1
wildsoft
Problems with page encoding
  • 2003/12/18 12:20

  • wildsoft

  • Just popping in

  • Posts: 12

  • Since: 2003/12/18


Hey everybody,

I'm finishing translating XOOPS to lithuanian language.
In global.php I specified:

define('_CHARSET', 'windows-1257');
define('_LANGCODE', 'lt');

Encoding of all the pages seem to be fine, except for the temporary pages, that apper and disappear (for example the page showing "database was updated succesfully, bla bla bla"). Encoding of theese pages is incorrect (default www server encoding) and lithuanian characters in theese pages display incorrectly.

Does anyone had such a problem, or know how can I solve it?


Any help would be appreciated.

WildSOfT

2
Mithrandir
Re: Problems with page encoding

The redirect page is not using the theme.html so you should look at modules/system/templates/system_redirect.html (or something similar) to make changes there as well.

3
wildsoft
Re: Problems with page encoding
  • 2003/12/18 14:04

  • wildsoft

  • Just popping in

  • Posts: 12

  • Since: 2003/12/18


Thanx for the tip.

Just to make sure I understood it right:

You mean that in file

modules/system/templates/system_redirect.html

I should change



to



?

4
Mithrandir
Re: Problems with page encoding

rather to


for dynamics

5
Herko
Re: Problems with page encoding
  • 2003/12/18 14:19

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Change it in the system_redirect.html template using the Template manager (system admin -> templates)

Herko

6
wildsoft
Re: Problems with page encoding
  • 2003/12/18 14:55

  • wildsoft

  • Just popping in

  • Posts: 12

  • Since: 2003/12/18


MithyT2 and Herko,

I did like you said, but still no luck :(

I cloned default template set, edited system_redirect.html in the cloned template set, and chosen it as default template set at system admin options.

But as I said it didn't help and encoding of redirection pages are still not right.

Do you have any other ideas? :)

7
Mithrandir
Re: Problems with page encoding

Can you grab a view-source of the redirection page? And see what is in the
?

8
wildsoft
Re: Problems with page encoding
  • 2003/12/18 19:34

  • wildsoft

  • Just popping in

  • Posts: 12

  • Since: 2003/12/18


Hmm, it's really strange.

I grabbed the source, and it seems like everything should be OK. Here's how it looks like:









Ačiū už prisijungimą, WildSOfT.


Jei tinklapis nepersikraus automatiškai, spauskite čia







But still in browser instead of windows-1257 encoding activates Western European (ISO) encoding and lithuanian characters are turned into non-lithuanian symbols.

You can try it at the site specified in the source above.

It's really strange problem...

9
wildsoft
Re: Problems with page encoding
  • 2003/12/21 21:38

  • wildsoft

  • Just popping in

  • Posts: 12

  • Since: 2003/12/18


So, any ideas how to fix it?

Login

Who's Online

422 user(s) are online (289 user(s) are browsing Support Forums)


Members: 0


Guests: 422


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits