Problem with greek and cyrillic characters in Fireboard

some
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Fri Nov 24, 2006 10:49 am

Problem with greek and cyrillic characters in Fireboard

Post by some » Fri May 11, 2007 3:40 pm

Hi,
I tried to write with Latin, Greek and Cyrillic letters in Fireboard but all I get is the Latin words and then only "??????????"
I assumed 1.5 (beta 2) should handle that.
Is there anything I can do to have this work?
Thanks


(test: abcd, αβγδ, абвг)
Last edited by Jinx on Wed May 30, 2007 9:16 pm, edited 1 time in total.

User avatar
ianmac
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4784
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by ianmac » Fri May 11, 2007 3:46 pm

This could be a fireboard thing.  Do these characters work in other parts of Joomla!

What database and MySQL version are you using?  Do you have MBString support?

Ian

some
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Fri Nov 24, 2006 10:49 am

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by some » Fri May 11, 2007 4:35 pm

I tried with articles. Same problem.

MySQL: 5.0.19-nt-log

mbstring is enabled

( mbstring.internal_encoding = UTF-8
mbstring.http_input = UTF-8
mbstring.http_output = UTF-8
mbstring.encoding_translation = On )

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by yvolk » Fri May 11, 2007 6:25 pm

some wrote: Hi,
I tried to write with Latin, Greek and Cyrillic letters in Fireboard but all I get is the Latin words and then only "??????????"
I assumed 1.5 (beta 2) should handle that.
Is there anything I can do to have this work?
I'm almost sure, that during install you've created database tables not with "utf-8" encoding, but with "Latin 1" or something (you may check this with myphpadmin or other MySql admin tool). I've got this twice, and I had to reinstall Joomla! (recreate database), paying special attention to this...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
ianmac
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4784
Joined: Sat Sep 24, 2005 11:01 pm
Location: Toronto, Canada

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by ianmac » Fri May 11, 2007 7:01 pm

yvolk:

does this happen when Joomla! creates the database?  Or only when the database is created manually?

Ian

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by infograf768 » Fri May 11, 2007 8:15 pm

Is Fireboard 1.5 compatible?
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by aravot » Fri May 11, 2007 8:28 pm

ianmac wrote: does this happen when Joomla! creates the database?
I didn't know Joomla! can create database, or do you mean tables in database if the later, during creation of database, utf8 collation has to be specified otherwise it doesn't work at least in my case (Armenian language), couple of time I created database forgot the change the collation (on my server default is latin1_swedish_ci) however during Joomla! 1.5 installation I made sure utf8_general_ci was select but that only effected Joomla! any component installed took the default collation of the server in my case latin1_swedish_ci hence during creation of database collation has to be specified/changed.

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by aravot » Fri May 11, 2007 8:30 pm

infograf768 wrote: Is Fireboard 1.5 compatible?
According to their roadmap mid August in legacy mod.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by infograf768 » Fri May 11, 2007 8:37 pm

Hmmm...
Looks like it is not obvious
http://www.bestofjoomla.com/component/o ... 2/catid,2/
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

some
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Fri Nov 24, 2006 10:49 am

Re: Problem with greek and cyrillic characters (test: abcd,αβγδ,абвг)

Post by some » Fri May 11, 2007 8:41 pm

how can I choose UTF-8 during installation ??
I can't see any selection dialog related to that
Last edited by some on Sat May 12, 2007 9:58 am, edited 1 time in total.

some
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Fri Nov 24, 2006 10:49 am

Re: Problem with greek and cyrillic characters in Fireboard

Post by some » Sat May 12, 2007 10:06 am

Is it possible to select UTF-8 for DB tables during installation (at least I don't see any possibility)? Or the encoding should be changed manually?

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by yvolk » Sat May 12, 2007 11:34 am

ianmac wrote: does this happen when Joomla! creates the database?  Or only when the database is created manually?
Yet, this happends, when Joomla! creates database... maybe previous time I created database myself.
some wrote: Is it possible to select UTF-8 for DB tables during installation (at least I don't see any possibility)? Or the encoding should be changed manually?
I've tried myself and didn't find either  :(.
But when I created DB myself with utf8_general_ci collation, during installation Joomla! created tables in this existing DB with the same, unicode collation. So, it seems, that you have to create database manually if you need "internationalization".

I think, that by default Joomla! 1.5 should create unicode database!
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

some
Joomla! Apprentice
Joomla! Apprentice
Posts: 23
Joined: Fri Nov 24, 2006 10:49 am

Re: Problem with greek and cyrillic characters in Fireboard

Post by some » Sat May 12, 2007 12:22 pm

Thanks a lot! Now it displays everything right :)

J-guys, what do you think if during installation DB is created by default with UTF-8 charset/collation, or at least if there is some way for the administrator to choose set/collation?
Last edited by some on Sat May 12, 2007 12:25 pm, edited 1 time in total.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Problem with greek and cyrillic characters in Fireboard

Post by infograf768 » Sun May 13, 2007 5:14 am

As far as I know, when one is owning one's server, 1.5 creates full utf8 databases automatically.
It is different on a share hosting where the database has to be created by the account owner manually.
In this last case, just creating a db with the right utf8 collation is enough.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by yvolk » Sun May 13, 2007 8:06 am

infograf768 wrote: As far as I know, when one is owning one's server, 1.5 creates full utf8 databases automatically.
I've tested this yesterdaday, and Joomla! 1.5 Beta2 created latin1 DB on my local system, when I gave it root MySQL password (server owner).
----------
My configuration:
1. WindowsXP sp2 Pro
2. ApacheFriends XAMPP (basic package) version 1.5.2
  + Apache 2.2.0
  + MySQL 5.0.20
  + PHP 5.1.2 + PEAR
  + phpMyAdmin 2.8.0.3
  + ...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Problem with greek and cyrillic characters in Fireboard

Post by infograf768 » Sun May 13, 2007 5:58 pm

Yvolk, for me this is a bug.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by yvolk » Mon May 14, 2007 5:46 am

infograf768 wrote: Yvolk, for me this is a bug.
Ok, I've created a "bug tracker item" for this.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Problem with greek and cyrillic characters in Fireboard

Post by ivo.apostolov » Tue May 29, 2007 9:55 pm

Yes, it is confirmed that Joomla! creates the database with the preset collation of MySQL (meaning its default collation).

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by yvolk » Wed May 30, 2007 10:16 am

I didn't understand the verdict of Dev team  :(:
"OK, after consultation with the Dev Team, this is not considered to be a bug.
The collation of the database is preset by the server administrator and with
simple words, whatever it is latin or other, the characters saved are under
utf8."

Characters are NOT saved in utf8 format! If this was true, nobody even have noticed that "Collation of MySQL".

Anyway, this behaviour is NOT USER FRIENDLY...
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Problem with greek and cyrillic characters in Fireboard

Post by ivo.apostolov » Wed May 30, 2007 12:37 pm

I am forwarding to your e-mail the full answer received.

User avatar
Jinx
Joomla! Champion
Joomla! Champion
Posts: 6508
Joined: Fri Aug 12, 2005 12:47 am
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by Jinx » Wed May 30, 2007 1:13 pm

Yvolk, bot sure where you got that information. The collaction is a know bug in beta 2, listed on the tracker.
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.joomlatools.com - Joomla extensions that just work

User avatar
yvolk
Joomla! Guru
Joomla! Guru
Posts: 979
Joined: Thu Jun 01, 2006 1:52 pm
Location: Moscow, Russia
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by yvolk » Wed May 30, 2007 2:59 pm

Jinx wrote: Yvolk, bot sure where you got that information. The collaction is a know bug in beta 2, listed on the tracker.
Thank you, I see, that this Bug tracker item is opened again  :)
As I understand, having no choices of DB collation during installation is worse, than having too much choices. I think, only two options will be enough for 99% of users: "unicode collation" (default option) and "database server default collation" (for advanced users or users with restricted rights...)?!
Last edited by yvolk on Wed May 30, 2007 3:01 pm, edited 1 time in total.
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Problem with greek and cyrillic characters in Fireboard

Post by ivo.apostolov » Wed May 30, 2007 3:05 pm

I don't think that there should be an option at all. If possible create a DB with UTF-8, otherwise create by using default collation.

User avatar
Jinx
Joomla! Champion
Joomla! Champion
Posts: 6508
Joined: Fri Aug 12, 2005 12:47 am
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by Jinx » Wed May 30, 2007 9:09 pm

Sorry Ivo you are correct, i mixed up the collation and the character set. Joomla! does indeed use the default collation of the database and this has no effect on the character set.

@Some : If there are problems with fireboard i suggest you contact the developers about this. It probably means they have not fully updated FireBoard for Joomla! 1.5 compatibility. If they have any question how to do this you can redirect them to our development forums and we will happely help them to fix this problem.
Last edited by Jinx on Wed May 30, 2007 9:12 pm, edited 1 time in total.
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.joomlatools.com - Joomla extensions that just work

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by aravot » Wed May 30, 2007 9:23 pm

I suggest a database collation check during installation of Joomla 1.5, if pre-created database is utf8 than proceed with installation otherwise a message to user e.g. database collation is 'latin1_swedish_ci' please exit installation change database collation to utf8 and than process with installation of Joomla 1.5

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Problem with greek and cyrillic characters in Fireboard

Post by ivo.apostolov » Wed May 30, 2007 10:20 pm

@aravot

There is no issue with it (if else and someone encounters issues with it please post details here). What I mean is that the database collation could be latin, windows Cyrillic or anything, but Joomla! API saves and gets the information from there as UTF.

Basically the only issue that appears in such cases is if you decide to move the database, export through phpMyAdmin and try to import it on another server. Then the second server gets the collation (because usually it is put in the create tables SQL) and use it with the charset in the SQL file. This means that when moving databases from one server to another you need to manually edit the SQL file. At least this is my experience with it.

User avatar
Jinx
Joomla! Champion
Joomla! Champion
Posts: 6508
Joined: Fri Aug 12, 2005 12:47 am
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by Jinx » Wed May 30, 2007 10:38 pm

That is indeed correct, the collation only determines the sorting order for the database, in most cases you will not even notice it when it isn't set correctly.
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.joomlatools.com - Joomla extensions that just work

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by aravot » Wed May 30, 2007 10:39 pm

The problem is not Joomla (whatever the database collation Joomla installs as utf8_general_ci) but when 3rd party add-ons are installed they are installed with default database collation.

example when I create a database from my cPanel by default it creates the database as latin1_swedish_ci
When I install Joomla! 1.5 it installs as utf8_general_ci but
When I install VirtueMart or FireBoard they installs as latin1_swedish_ci so before installing Joomla 1.5 I have to got to phpmyadmin and change the database collation to utf8 and than continue with Joomla installation, but sometime I forget to change and have problems later on, hence request for database check during Joomla installation

ivo.apostolov
I've been banned!
Posts: 1868
Joined: Thu Aug 25, 2005 2:33 pm

Re: Problem with greek and cyrillic characters in Fireboard

Post by ivo.apostolov » Wed May 30, 2007 10:51 pm

aravot

And why do you need the component tables to be utf_general_ci?

User avatar
aravot
Joomla! Ace
Joomla! Ace
Posts: 1015
Joined: Thu Aug 18, 2005 1:16 am
Location: Glendale, CA, USA
Contact:

Re: Problem with greek and cyrillic characters in Fireboard

Post by aravot » Wed May 30, 2007 11:44 pm

ivo.apostolov wrote: And why do you need the component tables to be utf_general_ci?
In my language if it is not utf8 than character appear as box or question mark.


Locked

Return to “Third Party Testing for Joomla! 1.5”