Welcome to Geeklog, Anonymous Tuesday, May 07 2024 @ 05:15 pm EDT

Geeklog Forums

multilingual problems


Gape

Anonymous
as i wrote to
geeklog-translations
just before:
i created my first multilingual website with geeklog,
and noticed that slovenian utf8 was not displaying some characters correctly
namely ? and ?

have to fix plugins too, but ... why this happened?

i fixed the wrong characters in language file (utf8)
and they do display correctly now, but
when i create new story - those exact same characters are replaced with questionmark (?)

others work well
namely: žŽšŠ

in all cases

next i noticed that advanced editor is not working - i enabled it in configuration, but the dropdown does not appear when i create new story

what can i do?
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
just noticed now
when i go to 'add new article'
i do not get any tabs
* Editor
* Publish Options
* Images
* Archive Options
* Permissions
* Show All

i went and checked in one 1.6.1 install and noticed that i get those tabs only when advanced editor is enabled
is that how its supposed to behave?


so
imho the question is:
when utf is enabled - for multilanguage purposes - advaced editor is disabled?
couse i know that advanced editor encodes our special characters diferently ...
4ex: š is encoded as
Text Formatted Code
š

? and ž look the same ... so maybe this is not the solution ...

anyone has any knowledge bout that?
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
the prblem vith adv. editor is resolved
http://www.geeklog.net/forum/viewtopic.php?showtopic=90391


still
the 2 chars that do not get properly encoded to the database are

Text Formatted Code
U+010C 
?      
c4 8c  
LATIN CAPITAL LETTER C WITH CARON

U+010D 
?      
c4 8d  
LATIN SMALL LETTER C WITH CARON


copied from here
http://www.utf8-chartable.de/unicode-utf8-table.pl?number=1024

where do i fix this?


im kinda running out of time
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I don't seem to have a problem using ç and Ç on sites that are using UTF-8 (with and without Advanced Editor).

Sorry, not sure what else to suggest.

bye, Dirk
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
Quote by: Dirk

I don't seem to have a problem using ç and Ç on sites that are using UTF-8 (with and without Advanced Editor).

Sorry, not sure what else to suggest.

bye, Dirk


those are not the chars ...
propre chars u can see on link ... sending u pic on email ...
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Whoops, sorry. Let's try that again: ? ?

Seems to work here and in stories. FCKeditor appears to have a tendency to translate them into numeric entities, i.e. #269 and #268. Despite that, they do display fine for me. Without FCKeditor, they are not turned into entities.

bye, Dirk

(edit: Okay, the characters did show up fine in the preview but were turned into question marks when saving this post. Oh well. But that's a problem in the forum ...)
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
Quote by: Dirk

Whoops, sorry. Let's try that again: ? ?

Seems to work here and in stories. FCKeditor appears to have a tendency to translate them into numeric entities, i.e. #269 and #268. Despite that, they do display fine for me. Without FCKeditor, they are not turned into entities.

bye, Dirk

(edit: Okay, the characters did show up fine in the preview but were turned into question marks when saving this post. Oh well. But that's a problem in the forum ...)


it is not forum
try new story, and save it in database ... when wiewed u will see questionmarks

ps
i remembered now, that some time ago with similar problems - but not utf - we added
@ html specialchars
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
As I said, it's working for me in stories.

bye, Dirk
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
Quote by: Dirk

As I said, it's working for me in stories.

bye, Dirk


and this is utf install?
imho it is, couse when i chooze slovenian, c with scaron is wrongly represented ... as i wrote higher i repaired this in my language file with replacing the two chars with proper ones ...
i even sent the file to translation list

what can i do, what can i check?

i just added the line
AddDefaultCharset utf-8
to the .htaccess

and still get the ? instead of a char ...



ps
what language r u using when testing?
i use slovenian ...
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
ok
u were right again
Razz

i did a fresh install on a server i regularly use and it rly works there ... as u claimed

sry 4 waisting ur time ...

could u pls point me to what else to check?
i.e. what could produce that error?
since database is in utf-8
and i added utf in .htaccess
and added the charset line to header.php


last but not least - even on this server those 2 chars get wrongly displayed - when strings are read from language file ... utf-8 ... proper ones i uploaded with file to translation list
will u check from where does this error come? at converting from non utf version i suppose
i can repair others and upload them too, but next time at upgrade it will be the same i suppose ...
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
I have this in the configuration locale setting: de_DE.UTF-8 what do you have?

I know it can be tricky to look into these things but it works in German with üöä etc. so there is certainly a way to do it in Slovenian too.
 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
Quote by: 1000ideen

I have this in the configuration locale setting: de_DE.UTF-8 what do you have?

I know it can be tricky to look into these things but it works in German with üöä etc. so there is certainly a way to do it in Slovenian too.



as i can read settings
i have sitewide
slovenian
with enabled language files and stuff
but in next row (locale) i had
sl_SI
i added .UTF-8 just now - seeing ur example
but it does not help
im using
sl_SI.UTF-8
now ...

my personal settings are set to slovenian too


i tried with your setting (other things as before)
de_DE.UTF-8
and it does not work either

can u email me url of your site so i can try posting one story with those special chars ... so u can check if they get properly encoded ...
 Quote

Status: offline

1000ideen

Forum User
Full Member
Registered: 08/04/03
Posts: 1298
On my site I have to use de_DE.UTF-8 otherwise the names of the months show "?" Ask your hoster, if he enabled sl_SI.UTF-8 in my case he had not and he did then after I asked him to.

 Quote

Status: offline

gape

Forum User
Full Member
Registered: 05/30/02
Posts: 138
Quote by: 1000ideen

On my site I have to use de_DE.UTF-8 otherwise the names of the months show "?" Ask your hoster, if he enabled sl_SI.UTF-8 in my case he had not and he did then after I asked him to.


do i get this info from phpinfo?
where does hoster enable this? php settings? mysql?
 Quote

All times are EDT. The time is now 05:15 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content