Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / September 2007

Tip: Looking for answers? Try searching our database.

Display Traditional Chinese Directory/Folder on asp.net 2.0 Problem ! !

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
info.lowyeah@gmail.com - 15 Sep 2007 13:24 GMT
Dear all,

Can anybody help me to solve the captioned problem?

Case:
I need to read a directory, which contains some sub-directories. Some
of them are English name, some of them are Chinese name.
Then my program will add the collection of the directory names in the
Drop Down List box.

When I run the aspx page in my local host IIS . It works fine. But
When I post it to webhosting server. All of chinese(Traditional)
directory names display an unreadable code.

I tried to change the Encode method in I.E browser from UTF to Big5.
But it doesn't work.

Can anybody help me to solve this problem ?

Regards,
ASP.net 2.0 Newbie (Alan)
Nick Chan - 17 Sep 2007 04:22 GMT
hi , i suppose u have to save ur aspx file in Unicode encoding
then normally, in the aspx file, u have to set Content.encoding =
'UTF8'  or UTF-8 . i forgot

On Sep 15, 8:24 pm, info.lowy...@gmail.com wrote:
> Dear all,
>
[quoted text clipped - 17 lines]
> Regards,
> ASP.net 2.0 Newbie (Alan)

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.