1
bulinmartin
installation - setting charset?

Hi,
I sorry if I'm writing in the wrong place, BUT:

I'm trying to install the new version of xoops (2.4.4) and I have some problems with setting the right charset probably.

I am Czech, so I have set the databaze to make the tables in utf8, coll: utf8_czech_ci. Then, during the installation I've set the same. I have no problem in a title of the whole page...there it shows normally: ěščřžýáíé, but when I try to make a new block and write there ěščřžýáíé, then click on PREVIEW - it shows: ěščřž����.

The same problem I have when I write sth into the THEME.HTML file or somewhere else (eg in a template).


Does anybody know where the problem could be? Where should I set the charset else???

Thanks

2
Burning
Re: installation - setting charset?
  • 2010/5/24 11:57

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

I do not know about preview issue. But for templates, try :

1 • open your template (or theme.html) with notepad++
2 • open Format menu and in list, choose Convert to UTF8 (without BOM)
3 • save

I hope it helps
Still learning CSS and... english

3
bulinmartin
Re: installation - setting charset?

Yes! That really helps, thank you!

I guess I will have to convert all templates like this.

But what should I do with that thing in preview? Maybe it's similar problem, just to convert another file...what do you think?

4
ghia
Re: installation - setting charset?
  • 2010/5/24 13:39

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


There is a problem with the preview of the dhtml editor.
Use /include/formdhtmltextarea_preview.php from version 2.3.3 or the new 2.4.5.
Altough the preview does not display UTF-8 characters correctly, they should appear correct in the view of the block.

For editing templates, theme files etc use as said here before the Notepad++ editor and have the UTF-8 without BOM encoding.

5
bjuti
Re: installation - setting charset?
  • 2010/5/24 13:54

  • bjuti

  • Just can't stay away

  • Posts: 871

  • Since: 2009/1/7 2


I have similar issue with publisher. It's utf8 based site, and all modules are ok, just publisher shows ? instead of some utf-8 chars.

Login

Who's Online

449 user(s) are online (333 user(s) are browsing Support Forums)


Members: 0


Guests: 449


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