Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 12:34 pm EST
Geeklog Forums
multilingual problems
Gape
geeklog-translations
just before:
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?
gape
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
? and ž look the same ... so maybe this is not the solution ...
anyone has any knowledge bout that?
gape
http://www.geeklog.net/forum/viewtopic.php?showtopic=90391
still
the 2 chars that do not get properly encoded to the database are
?
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
gape
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 ...
Dirk
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 ...)
gape
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
gape
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 ...
gape
u were right again
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 ...
1000ideen
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.
gape
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 ...
gape
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?
- 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