|
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ Nordic characters å, ä, ö, ø not showing correctly :: Archived
Nordic characters å, ä, ö, ø not showing correctly :: ArchivedWant a language pack or convertor? Have feedback on either of these? Are you a developer of one of these? Here is the place to post. Read the announcements here first!
Go to page 1, 2 Next
| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
MrMastah Newbie


Offline Joined: Jun 21, 2004 Posts: 37 Location: Sweden
|
Posted: Sat Nov 19, 2005 12:13 am Post subject: Nordic characters å, ä, ö, ø not showing correctly |
|
I have a problem with the swedish/norwegian characters å, ä, ö and ø who isn't showing as they are supposed to under my news articles (have no problems elsewhere on my website). For example in IE it shows "Postad av Mastah L?g, 19 november 2005"
(in english: "Posted by Mastah on Saturday, November 19, 2005")
This should be:
Postad av "Mastah Lördag, 19 november 2005".
Could anyone help me with this since I've search the forums but I cant figure out what to do!?
You can see for yourself here: www.danceaddict.nu/ind...ng=swedish
Edit: Just discovered that in Firefox it shows "Postad av Mastah L?rdag, 19 november 2005"
//Mastah Da n00b
MrMastah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win 2003 Server/Apache 2.0.55/MySQL 4.0.26/PHP 4.4.2/Dragonfly CMS v9.0.6.1
Last edited by MrMastah on Sun Nov 20, 2005 2:38 pm; edited 3 times in total |
|
| Back to top |
|
 |
NEMINI Diamond Supporter


Offline Joined: Apr 22, 2004 Posts: 4551
|
Posted: Sat Nov 19, 2005 12:54 am Post subject: Re: Nordic characters å, ä, ö not showing correctly |
|
i18n-l10n.com/News/art...sid=2.html
Could help you if this is an upgrade from a phpnuke site.
_________________ NEMINI.org, NEMINI.us, NEMINI.info, NYMINI.org
NEMINI's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) 1.3.34 (Unix)/4.1.18-standard/4.4.2 /9.1.0.8 CVS
|
|
| Back to top |
|
 |
MrMastah Newbie


Offline Joined: Jun 21, 2004 Posts: 37 Location: Sweden
|
Posted: Sat Nov 19, 2005 1:22 pm Post subject: Re: Nordic characters å, ä, ö not showing correctly |
|
Thanks NEMENI for your quick reply! No, I'm not upgrading from a phpnuke site, I have upgraded from CPG-Nuke 8.2b to DF 9.0.6.1.
My webserver crashed two weeks ago and I had to restore the website from a backup. I upgraded Apache, PHP and MySQL to meet the reqs for running a Dragonfly website. Then I put a backup of the database (*.sql) back into MySQL and copied my website back into the webserver and everything worked. After that I updated from 8.2b to 9.0.6.1 and everything is working except for the date when an article is posted as described in my first post.
For me 8.2 worked without a glitch for a year, never had this kind of problem.
Any suggestions what to do next?
MrMastah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win 2003 Server/Apache 2.0.55/MySQL 4.0.26/PHP 4.4.2/Dragonfly CMS v9.0.6.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sun Nov 20, 2005 6:15 am Post subject: Re: Nordic characters å, ä, ö not showing correctly |
|
You probably need to use 9.x language files, remember to backup and then delete the old language files sitting on your website.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
MrMastah Newbie


Offline Joined: Jun 21, 2004 Posts: 37 Location: Sweden
|
Posted: Sun Nov 20, 2005 2:22 pm Post subject: Re: Nordic characters å, ä, ö not showing correctly |
|
Well I did that from the start, so that can't be it. Yesterday I installed the norwegian language files and the same problems occur for character ø (it should say Lørdag, but in IE it shows L? and in Firefox L?rdag)...
So I'm confused... since these characters diplay ok everywhere else!
MrMastah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win 2003 Server/Apache 2.0.55/MySQL 4.0.26/PHP 4.4.2/Dragonfly CMS v9.0.6.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Sun Nov 20, 2005 9:11 pm Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
You could manually fix the problem modifing line 136 in modules/News/index.php to
| Code:: |
$datetime = utf8_encode(formatDateTime($row['time'], _DATESTRING)); |
But i really start to beleive that is MySQL 4.0.x that cause this kind of problems ... ?
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
MrMastah Newbie


Offline Joined: Jun 21, 2004 Posts: 37 Location: Sweden
|
Posted: Sun Nov 20, 2005 10:13 pm Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
Thank you NanoCaiordo, this fixed it!
It's a strange error, I have it in one more place, when the Survey block doesn't have any surveys to show. There it displays ⇒ instead of ø in the message "Det er ingen sp㸲reunders㸫elser å vise" (There are no Surveys to display"). Maybe that has something to do with
| Code:: |
$content = sprintf(_ERROR_NONE_TO_DISPLAY, strtolower(_SurveysLANG)); |
in block-survey.php?
Can I fix that in a similar way? (I tried but I'm a php newbie so I couldn't make it work...)
MrMastah's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Win 2003 Server/Apache 2.0.55/MySQL 4.0.26/PHP 4.4.2/Dragonfly CMS v9.0.6.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Mon Nov 21, 2005 6:59 am Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
This is what you should get if you are using original Dragonfly language files
| Code:: |
Det finns inga Undersökningar att visa |
There are some differences that make me think that someone edited main.php handling it in a not proper way, loosing the encoding.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
Black Newbie


Offline Joined: Jan 27, 2005 Posts: 15
|
Posted: Thu Nov 24, 2005 11:36 pm Post subject: ë , ç, Ë and Ç |
|
Hi there,
I've got similar problem.
I've done backup for whole database and then I've moved to different host-provider.
Now when I've added tables (phpMyAdmin) I get some strange characters, such as: ë , ç, Ë and Ç
I've got option characters set of file setup as UTF8, but still doesn't work.
Have you got any idea how can I solve this problem?
Thanks.
Black's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/MySQL/PHP/CPGNuke
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Fri Nov 25, 2005 7:24 am Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
More info about previos and actual verions of MySQL would be appreciated
but i guess you have switched from 4.0.X to 4.1.X
Please provide us more info, thank you.
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
Black Newbie


Offline Joined: Jan 27, 2005 Posts: 15
|
Posted: Fri Nov 25, 2005 11:31 am Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
Hi there & thanks fro reply
I dont know which version I used previosly.
Now i use MySQL 4.1.12-standard-log
Thanks.
Black's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Apache/MySQL/PHP/CPGNuke
|
|
| Back to top |
|
 |
FireLite Supporter


Offline Joined: Jan 18, 2005 Posts: 25
|
Posted: Fri Aug 18, 2006 11:48 am Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
Perhaps it's just your Apache installation. I had the same problem when "AddDefaultCharset" was set to ISO-8859-1, but I just changed this to UTF-8 and it solved the problem.
FireLite's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) W2K/2.x/4.0.17/4.3.11/9.0.4
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Fri Aug 18, 2006 12:09 pm Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
Thats why we already use in .htaccess (cvs)
| Code:: |
AddDefaultCharset utf-8 |
.. if you dont have that just add that line at the end of your main .htaccess file
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
Crashwave Newbie


Offline Joined: Sep 07, 2005 Posts: 11
|
Posted: Sun Oct 14, 2007 9:27 am Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
I now this is an old post sorry but I couldn't find anything else close to what was wrong.
I am having the same problem as black
I have AddDefaultCharset utf-8 in my htaccess but every time I download the database I get the strange characters replacing quotations, bullets and some other symbols. Can someone please tell me how to make it stop
• becomes •
’ becomes ’
" becomes “
.......
PHP version 4.4.4
MySQL version 4.1.22-standard
Thanks
Crashwave's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux::10337100::4.1.21::4.4.4::9.1.2.1
|
|
| Back to top |
|
 |
DJ Maze Developer


Offline Joined: Apr 19, 2004 Posts: 5683 Location: http://tinyurl.com/5z8dmv
|
Posted: Sun Oct 14, 2007 7:41 pm Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly |
|
Crashwave what is your website url?
_________________ There are two paths, the short one and the long one.
When you choose the short path you will notice it takes longer then the long path.
So READ the FAQ and Wiki first 
DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
|
|
| Back to top |
|
 |
|
|
All times are GMTGo to page 1, 2 Next
|