Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ Nordic characters å, ä, ö, ø not showing correctly :: Archived


Nordic characters å, ä, ö, ø not showing correctly :: Archived
Want 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
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  i18n - l10n (languages)

Topic Archived View previous topic :: View next topic  
Author Message
MrMastah
Newbie
Newbie

Offline Offline
Joined: Jun 21, 2004
Posts: 37
Location: Sweden
PostPosted: 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
View user's profile Visit poster's website ICQ Number MSN Messenger
NEMINI
Diamond Supporter
Diamond Supporter

Offline Offline
Joined: Apr 22, 2004
Posts: 4551

PostPosted: 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
View user's profile Visit poster's website Photo Gallery
MrMastah
Newbie
Newbie

Offline Offline
Joined: Jun 21, 2004
Posts: 37
Location: Sweden
PostPosted: 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
View user's profile Visit poster's website ICQ Number MSN Messenger
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
MrMastah
Newbie
Newbie

Offline Offline
Joined: Jun 21, 2004
Posts: 37
Location: Sweden
PostPosted: 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
View user's profile Visit poster's website ICQ Number MSN Messenger
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
MrMastah
Newbie
Newbie

Offline Offline
Joined: Jun 21, 2004
Posts: 37
Location: Sweden
PostPosted: Sun Nov 20, 2005 10:13 pm
Post subject: Re: Nordic characters å, ä, ö, ø not showing correctly

Thank you NanoCaiordo, this fixed it! Very Happy
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...) Confused


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
View user's profile Visit poster's website ICQ Number MSN Messenger
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Black
Newbie
Newbie

Offline Offline
Joined: Jan 27, 2005
Posts: 15

PostPosted: 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Black
Newbie
Newbie

Offline Offline
Joined: Jan 27, 2005
Posts: 15

PostPosted: 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
View user's profile Visit poster's website
FireLite
Supporter
Supporter

Offline Offline
Joined: Jan 18, 2005
Posts: 25

PostPosted: 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Crashwave
Newbie
Newbie

Offline Offline
Joined: Sep 07, 2005
Posts: 11

PostPosted: 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
View user's profile
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: 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 Razz

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
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  i18n - l10n (languages)
Page 1 of 2
All times are GMT
Go to page 1, 2  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

lesa meira...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy