Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » 

#13 2005-07-25 23:50:27

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re:

Marios, I think I found one blog which deals without problems with UTF-8 characters. See my test installation of nucleus here http://www.translatum.gr/nu/index.php?itemid=2&catid=1

You will find polytonic Greek, Chinese and Tamil properly displayed. And no talk of collation, MySQL versions, etc there ):-

This is the way it should be for globalization: unicode support out of the box. I think it is worth the trouble and I hope TXP gets there soon!

Last edited by spiros (2005-07-26 00:27:38)

Offline

#14 2005-07-25 23:52:01

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re:

> Sencer wrote:

> @marios: spiros is getting named entities instead of numeric entities because mbstring extension is missingin PHP for him.

> Hmm, I am not sure what this, a remote function or something? How does it work? Do we
> need remote language files?

They connect to rpc.textpattern.com. That’s where the translators can now translate their stuff, and it becomes availabel to all users via remote update.

Thanks a lot Sencer, for your help, I’ll report back of course to confirm.

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#15 2005-07-26 00:07:07

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re:

Well, ok I know nucleus, I allso know wordpress, but this is a texpattern forum ,so If I want the others ,I go to their forums, but I don’t want to.
I’ve allso noticed the new wordpress.gr community site that opened it’s doors very shortly ago, but unfortunattely there is no localization info available,and their main forum stilluse greeklish if you noticed. Apart from correctly displaying XHTML , there many other things involved ,when it comes to correctly parse different files.like e. g. xml files,so you see we are just scratching the surface.
And out of the box parsing for UTF-8, when you have different Server Environment is I think something, that is not yet in the shelve.
(BTW.:The nucleus example blog doesn’t escape the apostrophes, that is not allowed in XHTML strict)

with best regards, marios

Last edited by marios (2005-07-26 05:13:44)


⌃ ⇧ < ⌃ ⇧ >

Offline

#16 2005-07-26 00:30:41

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re:

> marios wrote:

> Well, ok I know nucleus, I allso know wordpress, but this is a texpattern forum ,so If I want the others ,I go to their forums, but I don’t want to.

The point is that if other people can do something then it CAN be done. This is why I mention it HERE.

> (BTW.:The nucleus example blog doen’t escape the apostrophes,that is not allowed in XHTML strict)

I just tested that page and guess what, it validates
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.translatum.gr%2Fnu%2Findex.php%3Fitemid%3D2%26catid%3D1

Offline

#17 2005-07-26 00:37:31

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re:

Cannot be interpreted as UTF-8
Allso,if something validates, it is not necessarily correct XHTML.
(And then you don’t want those diamond shapes on your page allso , I guess)

with best regards, marios

Last edited by marios (2005-07-26 00:38:05)


⌃ ⇧ < ⌃ ⇧ >

Offline

#18 2005-07-26 00:45:04

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re:

Yes it’s doable, but it is hard to make it work across all different versions and all different configurations. A lot of other people are using Textpattern happily with all kinds of languages. And just because another package works out of the box with the setup you have, doesn’t mean they get necessarily get it right in any possible setup and what works for you might break for someone else.

We are working on it.

Offline

#19 2005-07-26 00:59:55

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re:

What would be highly appreciated,would be some test results with some different server environement (with greek hosting companies,if you prefer,but not necessarily).
Thanks again , Sencer for your invaluable help.

with best regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#20 2005-07-26 10:24:17

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re:

> Sencer wrote:

> Yes it’s doable, but it is hard to make it work across all different versions and all different configurations. A lot of other people are using Textpattern happily with all kinds of languages. And just because another package works out of the box with the setup you have, doesn’t mean they get necessarily get it right in any possible setup and what works for you might break for someone else.

>We are working on it.

Hi Sencer, it is great to know that you are working on it and you take globalization seriously!

I have started a research on unicode and multilingual content support across a variety of CMSs and I am planning to write an article about it. However, I will delay it because I think TXP is just a great tool and should be included in the list!

to marios > Cannot be interpreted as UTF-8 >Allso,if something validates, it is not necessarily correct XHTML. >(And then you don’t want those diamond shapes on your page allso , I guess)

Marios, I am not sure what you mean with “Cannot be interpreted as UTF-8”. I have UTF-8 encoding in my browser and it works and I see no rhomboid shapes either (with mozilla that is). I just tested it with IE though and I get square shapes instead of the accented polytonic characters and some of the Chinese ideograms do not display properly…. oh well c’est la vie!
However, standard Modern Greek looks fine with UTF-8 in both browsers.

Offline

#21 2005-07-26 15:18:29

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re:

Can the people please send me (email) the result of this query:

SHOW variables like 'character_s%'

(you should do this in the database, where txp is installed, please) and tell me in a few words, the problems they are seeing on a default install with no changes made.

Thank you.

Offline

#22 2005-07-26 18:35:49

spiros
Member
From: Athens
Registered: 2005-07-01
Posts: 29
Website

Re:

Here you go Sencer

character_set latin1
character_sets latin1 big5 czech euc_kr gb2312 gbk latin1_de sjis tis620 ujis dec8 dos german1 hp8 koi8_ru latin2 swe7 usa7 cp1251 danish hebrew win1251 estonia hungarian koi8_ukr win1251ukr greek win1250 croat cp1257 latin5

Problems in default install:

Greek characters converted to html entities.

Last edited by spiros (2005-07-26 18:36:42)

Offline

#23 2005-07-27 18:34:57

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re:

Sorry ,for not being here, I went on a small trip, and come back (well,with some little) fresh energy, unfortunately I’m not that confident with mySQL, so again this is on the lang table, not sure though.On rv 635

character_set_client utf8
character_set_connection utf8
character_set_database utf8
character_set_results utf8
character_set_server latin1
character_set_system utf8

(didn’t see any problems)

with best regards, marios

Last edited by marios (2005-07-27 18:48:43)


⌃ ⇧ < ⌃ ⇧ >

Offline

#24 2005-07-27 18:56:52

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re:

Wonderfull, Sencer

thanks again for everything ,

with best regards, marios

Last edited by marios (2005-07-27 18:59:47)


⌃ ⇧ < ⌃ ⇧ >

Offline

  1. Index
  2. » Archives
  3. » 

Board footer

Powered by FluxBB