Joomla! Discussion Forums



It is currently Tue Nov 24, 2009 11:25 pm (All times are UTC )

 




Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2  Next
Author Message
Posted: Fri May 11, 2007 3:40 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 24, 2006 10:49 am
Posts: 23
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.

Top
  E-mail  
 
Posted: Fri May 11, 2007 3:46 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4482
Location: Toronto, Canada
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

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Fri May 11, 2007 4:35 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 24, 2006 10:49 am
Posts: 23
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 )


Top
  E-mail  
 
Posted: Fri May 11, 2007 6:25 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 778
Location: Moscow, Russia
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


Top
  E-mail  
 
Posted: Fri May 11, 2007 7:01 pm 
User avatar
Joomla! Virtuoso
Joomla! Virtuoso
Offline

Joined: Sat Sep 24, 2005 11:01 pm
Posts: 4482
Location: Toronto, Canada
yvolk:

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

Ian

_________________
Joomla! Leadership Team - Production Working Group
Joomla! Bug Squad Coordinator
Joomla! Developer Documentation Team
Please don't say something 'isn't working'. Explain what you tried, and what happened as a result.


Top
   
 
Posted: Fri May 11, 2007 8:15 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Is Fireboard 1.5 compatible?

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Fri May 11, 2007 8:28 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 1:16 am
Posts: 961
Location: Glendale, CA, USA
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.

_________________
http://www.virtuemart-extensions.com


Top
  E-mail  
 
Posted: Fri May 11, 2007 8:30 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 1:16 am
Posts: 961
Location: Glendale, CA, USA
infograf768 wrote:
Is Fireboard 1.5 compatible?


According to their roadmap mid August in legacy mod.

_________________
http://www.virtuemart-extensions.com


Top
  E-mail  
 
Posted: Fri May 11, 2007 8:37 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Hmmm...
Looks like it is not obvious
http://www.bestofjoomla.com/component/o ... 2/catid,2/

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Fri May 11, 2007 8:41 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 24, 2006 10:49 am
Posts: 23
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.

Top
  E-mail  
 
Posted: Sat May 12, 2007 10:06 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 24, 2006 10:49 am
Posts: 23
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?


Top
  E-mail  
 
Posted: Sat May 12, 2007 11:34 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 778
Location: Moscow, Russia
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


Top
  E-mail  
 
Posted: Sat May 12, 2007 12:22 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Nov 24, 2006 10:49 am
Posts: 23
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.

Top
  E-mail  
 
Posted: Sun May 13, 2007 5:14 am 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
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 · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Sun May 13, 2007 8:06 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 778
Location: Moscow, Russia
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


Top
  E-mail  
 
Posted: Sun May 13, 2007 5:58 pm 
User avatar
Joomla! Master
Joomla! Master
Offline

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 11676
Location: **Translation Matters**
Yvolk, for me this is a bug.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.
---------------------------------
Joomla! Translation Coordination Team


Top
  E-mail  
 
Posted: Mon May 14, 2007 5:46 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 778
Location: Moscow, Russia
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


Top
  E-mail  
 
Posted: Tue May 29, 2007 9:55 pm 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
Yes, it is confirmed that Joomla! creates the database with the preset collation of MySQL (meaning its default collation).


Top
   
 
Posted: Wed May 30, 2007 10:16 am 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 778
Location: Moscow, Russia
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


Top
  E-mail  
 
Posted: Wed May 30, 2007 12:37 pm 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
I am forwarding to your e-mail the full answer received.


Top
   
 
Posted: Wed May 30, 2007 1:13 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6431
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.nooku.org - multi-lingual content manager and rapid extension development framework for Joomla 1.5
http://www.joomlatools.eu - training, consulting and extension development


Top
   
 
Posted: Wed May 30, 2007 2:59 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 778
Location: Moscow, Russia
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...)?!

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Last edited by yvolk on Wed May 30, 2007 3:01 pm, edited 1 time in total.

Top
  E-mail  
 
Posted: Wed May 30, 2007 3:05 pm 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
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.


Top
   
 
Posted: Wed May 30, 2007 9:09 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6431
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.

_________________
Johan Janssens - Joomla Co-Founder, Lead Developer of Joomla 1.5

http://www.nooku.org - multi-lingual content manager and rapid extension development framework for Joomla 1.5
http://www.joomlatools.eu - training, consulting and extension development


Last edited by Jinx on Wed May 30, 2007 9:12 pm, edited 1 time in total.

Top
   
 
Posted: Wed May 30, 2007 9:23 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 1:16 am
Posts: 961
Location: Glendale, CA, USA
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

_________________
http://www.virtuemart-extensions.com


Top
  E-mail  
 
Posted: Wed May 30, 2007 10:20 pm 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
@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.


Top
   
 
Posted: Wed May 30, 2007 10:38 pm 
User avatar
Joomla! Champion
Joomla! Champion
Offline

Joined: Fri Aug 12, 2005 12:47 am
Posts: 6431
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.nooku.org - multi-lingual content manager and rapid extension development framework for Joomla 1.5
http://www.joomlatools.eu - training, consulting and extension development


Top
   
 
Posted: Wed May 30, 2007 10:39 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 1:16 am
Posts: 961
Location: Glendale, CA, USA
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

_________________
http://www.virtuemart-extensions.com


Top
  E-mail  
 
Posted: Wed May 30, 2007 10:51 pm 
I've been banned!
Offline

Joined: Thu Aug 25, 2005 2:33 pm
Posts: 1853
aravot

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


Top
   
 
Posted: Wed May 30, 2007 11:44 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Thu Aug 18, 2005 1:16 am
Posts: 961
Location: Glendale, CA, USA
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.

_________________
http://www.virtuemart-extensions.com


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page 1, 2  Next

Quick reply

 



Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group