1
trdonja
Strange characters and IE problem
  • 2005/10/10 22:39

  • trdonja

  • Just popping in

  • Posts: 6

  • Since: 2005/10/10


Hello, probably questions with easy answers, but here it is:

1. There are two places at my site, where this set of characters is shown: "ďťż". I thought it's a debugger thing, but I guess it's not. At the starting page, this appears only at the top of middle column: "ďťżďťżďťżďťżďťżďťż". When I click any link in the menu, one more ďťż appears in the top left corner of the page. Also one more ďťż is added to the old one. What is it? I want to get rid of it. I've searched all modules, including System module for this phrase, but had no success.

2. I use central european characters at my page. First page is ok on Mozilla and IE. But when I click any link IE starts showing some of these special characters incorrectly, Firefox doesn't have these problems. I can fix that by using codes instead of characters like č But this is no real solution for lots of text. I read that solution is to include this:



But where exactly? In every module? There are many HTML files and I don't know where it belongs.

Thank you for your help.

2
davidthomas1
Re: Strange characters and IE problem

You should check that the charset is correct in your language file e.g.

xoops/language/english/global.php

At the bottom of the file, you can set the encoding / charset.

If you set it there, XOOPS will include it on every page of your site automatically.
みんなちがってみんないい。

XOOPS 2.0.13.2

3
trdonja
Re: Strange characters and IE problem
  • 2005/10/11 20:09

  • trdonja

  • Just popping in

  • Posts: 6

  • Since: 2005/10/10


Hmm. I was playing with this file and there is no charset that would work correctly. I tried UTF-8, Windows-based and DOS-based charsets that are said to support my language. How is this possible?

Regarding first problem, with different charsets the actual characters shown are different. With ISO-8859-1 it's "" I can't publish site that has this written.

4
trdonja
Re: Strange characters and IE problem
  • 2005/10/11 23:33

  • trdonja

  • Just popping in

  • Posts: 6

  • Since: 2005/10/10


Ok, I've solved the second problem. I saved main.php files in every module as ASCI and UNIX. It works and I have no idea how.

The first problem stays there. I've turned on the template debugger and I found this line in report:

{$xoops_contents} ďťżďťżďťżďťżďťż

This is the exact "word" which is shown at the top of middle column. The only place I found this phrase is in theme directory (phpkaox, but it appears in every theme.html file) as this code:

<{$xoops_contents}>


And I also found it in system module in templates/system_plain.html as this code:


<{$xoops_contents}>



Now, this HAS to be enough info for someone to help?! Also after I removed one of the modules (it was not active before and there was ďťż written before its name in Modules Administration screen), one of the ďťż less is shown at the site. So it's ďťżďťżďťżďťżďťż now instead of ďťżďťżďťżďťżďťżďťż.

5
davidthomas1
Re: Strange characters and IE problem

I sympathize.

Encoding problems are difficult at times.

It's always best to start with the correct encoding for your needs from the beginning.

I always use UTF-8 because it supports most (all) international character sets.

If you're using UTF-8, you may need to convert your language pack files to UTF-8. You may also have to re-enter content once the page is loaded as UTF-8 (to save it correctly)

see why it's best to set the encoding first?

In any case, a couple of programs may help you convert file s to UTF-8

try Unifier (shareware but you can use it to convert a limited number of files at a time)

or

Textpipe (You can convert up to 100 files at a time)

hope it helps.
みんなちがってみんないい。

XOOPS 2.0.13.2

6
Horatio
Re: Strange characters and IE problem
  • 2005/10/12 11:57

  • Horatio

  • Just popping in

  • Posts: 13

  • Since: 2005/7/2 9


I think what he is seeing is just several characters misplaced by accident. It might be included in the themes or in the content coding part.

If you want me to look at it; just send an e-mail to info[at]luceos[dot]com

7
trdonja
Re: Strange characters and IE problem
  • 2005/10/13 1:17

  • trdonja

  • Just popping in

  • Posts: 6

  • Since: 2005/10/10


Yes, you are right, Horatio. Thank you, both, for your help. Most of the sites with the same problem I found are Polish (same charset - ISO2). For instance here is one site I've found:
http://tapety.nugae.org/top.php
See the "ďťż" in left top and left bottom corner? Also there is one "ďťż" in the login section. (this site, however HAS some charset problems, but that's not the reason)
Here is one more:
http://www.wehrabat.ma/index1.php?newlang=polish
Also, here is a UTF-8 example:
http://www.ifi.auf.org/vn/integrer.php
"ďťż" becomes ""

So the site is fully operational and all characters are shown ok. Only this ďťż drives me crazy.

Horatio, I've tried dozens of themes and it's the same everywhere. So I don't think it's theme related. I use 2.2.2.

8
trdonja
Re: Strange characters and IE problem
  • 2005/10/13 2:32

  • trdonja

  • Just popping in

  • Posts: 6

  • Since: 2005/10/10


I disabled piCal and myAlbum modules and the problems are gone. I will contact their author Gijoe about it. Another module that caused this was a fancy Flash counter.

9
davidthomas1
Re: Strange characters and IE problem

It could be whitespace characters.

Sometimes extra spaces in your theme file etc... (especially at the start + end of the file) can cause problems.

check you don't have to much extra whitespace at the start and end of your theme file.
みんなちがってみんないい。

XOOPS 2.0.13.2

10
trdonja
Re: Strange characters and IE problem
  • 2005/10/13 2:52

  • trdonja

  • Just popping in

  • Posts: 6

  • Since: 2005/10/10


I solved it. It was what you told before. In MyAlbum modinfo.php was not converted. I just encoded it right (without updating modul at all - I didn't know that) and it was fine. Thank you for your help.

Login

Who's Online

171 user(s) are online (27 user(s) are browsing Support Forums)


Members: 0


Guests: 171


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