datetimeformat with thai character (cpg 9.0.3.0)
| Author |
Message |
century


Joined: Sep 29, 2004 Posts: 7
|
Post subject: datetimeformat with thai character (cpg 9.0.3.0) Posted: Sun Apr 10, 2005 5:44 pm |
|
Hi,
I have some problems with datetimefomat when use cpg 9.0.3.0 with thai day and month. It's appear like
???????, 10 ?????? 2005 (05:33:29)
first ?????? is the name of day
second ????? is the name of month
How can i corrected display?
Thanks
CenturY
century's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Localhost: Windows/Apache1.3.xx/Mysql4.x/PHP4.x Server OS: Linux/Apache1.3.xx/MySQL3.x/PHP4.x |
|
| Back to top |
|
 |
NanoCaiordo


Joined: Jun 29, 2004 Posts: 3672 Location: Melbourne, AU
|
Post subject: Re: datetimeformat with thai character (cpg 9.0.3.0) Posted: Mon Apr 11, 2005 6:03 pm |
|
Your web site link doesnt exist, please update your profile.
In this and my web sites this is what appear
Code:
ผู้บันทึก Jordo เมื่อ อังคาร 12 เม.ย. 05@ 00:34:48 GMT (2 คนอ่าน) And i gess is correct, may be this document will help you
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) MySQL 5.1 / PHP 5.3 / NextGen() |
|
| Back to top |
|
 |
uday123


Joined: Sep 27, 2005 Posts: 2
|
Post subject: Re: datetimeformat with thai character (cpg 9.0.3.0) Posted: Tue Sep 27, 2005 8:17 pm |
|
Did u find any fix for this. I too have the same issue in apache 1.3.26
uday123's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) apache 1.3.2.6 |
|
| Back to top |
|
 |
ians


Joined: Feb 23, 2005 Posts: 209 Location: Switzerland
|
Post subject: Re: datetimeformat with thai character (cpg 9.0.3.0) Posted: Tue Sep 27, 2005 9:20 pm |
|
That document doesn't actually appear to contain any useful information, what it does have doesn't look correct either. Specifically, it's normal HTTP 1.1 behaviour to add the character set ISO-8859 if no character set is specified.
Assuming that sending data in UTF8 without specifying the character set and hoping it will be interpreted as UTF8 by a lucky circumstance of browser implementation won't work in all cases and blaming a proxy for correctly adding ISO-8859 isn't correct just because you didn't want it to.
I suspect if we run a poll we'll find a lot of people who are getting this problem across multiple character sets (ie "?" from datetimeformat). I've been looking at this today and it's just not working properly at all across a combination of servers in terms of OS and Apache versions, PHP versions and ini settings, Apache allowed overrides etc etc.
If I just write some plain PHP code to exercise strfmtime in different locales it works every time for me just as I'd expect.
Bit of a nuisance really, I have to deal with the character stuff for a living, it's no fun on your own time
ians's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 5.2.1-RELEASE, Apache 1.3.33, MySQL 4.0.16, PHP 4.3.9, DragnFly 9.0.1.1 |
|
| Back to top |
|
 |
ians


Joined: Feb 23, 2005 Posts: 209 Location: Switzerland
|
Post subject: Re: datetimeformat with thai character (cpg 9.0.3.0) Posted: Wed Sep 28, 2005 2:28 pm |
|
uday123 wrote:
Did u find any fix for this. I too have the same issue in apache 1.3.26
can you please fill in your server specs fully? I guess from your problem you're running a windows server though.
ians's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 5.2.1-RELEASE, Apache 1.3.33, MySQL 4.0.16, PHP 4.3.9, DragnFly 9.0.1.1 |
|
| Back to top |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|

|
User Info ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Welcome Anonymous
Last CVS commits ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Languages ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Community ![Show/hide content [x]](themes/dragonfly/images/minus.png)
 Support for DragonflyCMS in a other languages:
• Deutsch
• Español
X-links ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Preview theme ![Show/hide content [x]](themes/dragonfly/images/minus.png)
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.
|