473,405 Members | 2,185 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

HOWTO: Prevent ASP page from displaying Chinese characters when outputing using...

Hi,

Probably due to my 'Language for non-Unicode Setting' in Regional Settings,
my ASP page keeps outputing the date format as Chinese Simplified characters
when issuing say, <%=Now()%>. In addition, my client script also interpret
it as Chinese characters, which I don't want it to behave this way. However,
I can't remove my 'Chinese (PRC)' settings in control panel as I need it for
other Chinese version software. Does anyone knows how can I display the date
in my ASP page in normal English? I did try out the META tag Content Type
and put in several charset to try out, but seems like it doesn't work at
all.

Thanks in advance!

Regards,
Antonio
Jul 19 '05 #1
2 2255
Tried using FormatDateTime ?

http://surl.co.uk/?401

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Antonio Ooi" <an*******@yahoo.com> wrote in message
news:uF*************@TK2MSFTNGP11.phx.gbl...
Hi,

Probably due to my 'Language for non-Unicode Setting' in Regional Settings, my ASP page keeps outputing the date format as Chinese Simplified characters when issuing say, <%=Now()%>. In addition, my client script also interpret
it as Chinese characters, which I don't want it to behave this way. However, I can't remove my 'Chinese (PRC)' settings in control panel as I need it for other Chinese version software. Does anyone knows how can I display the date in my ASP page in normal English? I did try out the META tag Content Type
and put in several charset to try out, but seems like it doesn't work at
all.

Thanks in advance!

Regards,
Antonio

Jul 19 '05 #2
No, I need to use functions like MonthName() a well, and this causing the
same problem too. Any idea? Thanks!

"Steven Burn" <pv*@noyb.com> wrote in message
news:Og**************@TK2MSFTNGP09.phx.gbl...
Tried using FormatDateTime ?

http://surl.co.uk/?401

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Antonio Ooi" <an*******@yahoo.com> wrote in message
news:uF*************@TK2MSFTNGP11.phx.gbl...
Hi,

Probably due to my 'Language for non-Unicode Setting' in Regional

Settings,
my ASP page keeps outputing the date format as Chinese Simplified

characters
when issuing say, <%=Now()%>. In addition, my client script also interpret it as Chinese characters, which I don't want it to behave this way.

However,
I can't remove my 'Chinese (PRC)' settings in control panel as I need it

for
other Chinese version software. Does anyone knows how can I display the

date
in my ASP page in normal English? I did try out the META tag Content Type and put in several charset to try out, but seems like it doesn't work at
all.

Thanks in advance!

Regards,
Antonio


Jul 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lucas Tam | last post by:
Hi all, Is there anything special I need to do to output Chinese text into Combo boxes? I can display chinese text in labels, but when I databind to a combobox, all the chinese characters are...
1
by: wtistang | last post by:
I need some suggestions regarding a problem I am facing. I have a web page (asp.net and C#) which containing Chinese characters. In my web.config file I have: <globalization...
0
by: st.frey | last post by:
I've got a problem with importing chinese characters into a mysql-table and have read several mailings but didn't find a solution. i have a utf-8 text file that contains chinese characters. the...
3
by: Chris Marsh | last post by:
Greetings All I have a number of subdirectories, which are named as per the culture that they refer to; for example the Italian folder is named it-IT. I then generate a DropDownList on my ASPX...
2
by: Clive Green | last post by:
Hello peeps, I am using PHP 5.2.2 together with MP3_Id (a PEAR module for reading and writing MP3 tags). I have been using PHP on the command line (Mac OS X Unix shell, to be precise), and am...
6
by: Steve | last post by:
Hi. I need to store chinese characters and Pinyins in a mysql database and then read them from php and using the GD library and imagettftext() function to create an image based on a chinese ttf...
5
by: tushar.saxena | last post by:
This post is a follow up to the post at : http://groups.google.com/group/comp.lang.c++/browse_thread/thread/83af6123fa945e8b?hl=ug#9eaa6fab5622424e as my original question was answered there, but I...
8
by: vaskarbasak | last post by:
Hi, I'm having problems displaying Chinese and Japanese characters on Swing components. I know some conversion should be done. Do you have some source code sample or any idea ? Thanks! vaskar
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.