Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ Languages and alternative language support ⇒ i18n - l10n (languages) :: Archives ⇒ %A problem in datestring :: Archived


%A problem in datestring :: 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 Previous  1, 2, 3
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  i18n - l10n (languages)

Topic Archived View previous topic :: View next topic  
Author Message
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3879
Location: Melbourne, AU
PostPosted: Sun Jan 01, 2006 12:20 pm
Post subject: Re: %A problem in datestring

Quote::
Search our forums

_________________
.:: 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
senzacionale
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 26, 2004
Posts: 582
Location: Slovenija
PostPosted: Sun Jan 01, 2006 5:33 pm
Post subject: Re: %A problem in datestring

You can try for news changing
Code::
$datetime = formatDateTime($row['time'], _DATESTRING);
to

Code::
$datetime = utf8_encode(formatDateTime($row['time'], _DATESTRING));

in file modules/news/index.php
but doesn't help me.

In gentoo linux is in my example Četrtek like četrtek and in windows is like Èetrtek. In gentoo is č correct but with lower case in windows is completely wrong. If i use utf8_encode in linux Četrtek is like ÈÈetrtek so wrong. This utf8_encode i think will not help you or maybe it will. I think that is also very important in which encoding is your DB. I have it in latin1_swedisch_ci becouse with utf_8 č. ć. ž. š are not show correctly.

Let me know.

_________________
Juventus the champion!

senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
Back to top
View user's profile Visit poster's website MSN Messenger
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Mon Jan 02, 2006 1:08 am
Post subject: Re: %A problem in datestring

The issue is your server installed languages install the utf languages in your Gentoo.


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
senzacionale
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Sep 26, 2004
Posts: 582
Location: Slovenija
PostPosted: Mon Jan 02, 2006 9:50 am
Post subject: Re: %A problem in datestring

Code::
root@mitjab pts/1 locale
LANG=sl_SI.utf8
LC_CTYPE="sl_SI.utf8"
LC_NUMERIC="sl_SI.utf8"
LC_TIME="sl_SI.utf8"
LC_COLLATE="sl_SI.utf8"
LC_MONETARY="sl_SI.utf8"
LC_MESSAGES="sl_SI.utf8"
LC_PAPER="sl_SI.utf8"
LC_NAME="sl_SI.utf8"
LC_ADDRESS="sl_SI.utf8"
LC_TELEPHONE="sl_SI.utf8"
LC_MEASUREMENT="sl_SI.utf8"
LC_IDENTIFICATION="sl_SI.utf8"
LC_ALL=sl_SI.utf8

locale is in utf8. Did you mean that or something else?

_________________
Juventus the champion!

senzacionale's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Windows XP/2.0.53/4.1.16/5.1.1/Dragonfly....Gentoo Linux/2.0.52-r1/4.1.16/5.1.1/Dragonfly
Back to top
View user's profile Visit poster's website MSN Messenger
Zlatan
Nice poster
Nice poster

Offline Offline
Joined: Dec 05, 2004
Posts: 63

PostPosted: Tue Jan 03, 2006 7:58 pm
Post subject: Re: %A problem in datestring

utf8_encode doesn't work, is any other options for this problem in windows?


Zlatan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
WIN/2/4.0.22/5.0.5/9.*
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  i18n - l10n (languages)
Page 3 of 3
All times are GMT
Go to page Previous  1, 2, 3

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.

read more...

   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