473,786 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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(Traditi onal)
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)

Sep 15 '07 #1
1 1550
hi , i suppose u have to save ur aspx file in Unicode encoding
then normally, in the aspx file, u have to set Content.encodin g =
'UTF8' or UTF-8 . i forgot

On Sep 15, 8:24 pm, info.lowy...@gm ail.com wrote:
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(Traditi onal)
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)

Sep 17 '07 #2

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

Similar topics

0
1977
by: wsj | last post by:
Hi, I am trying to pass some information via HTTP header from Tomcat server to IIS5(win2K server Traditional Chinese version). Unfortunately, all the Chinese characters are crippled on the ASP page. Can anyone please point me a way for solving this? Thanks Also, one odd thing I experienced is that server running English version of w2K turns out to be fine on decoding Chinese characters...
1
2170
by: Elie Grouchko | last post by:
Hi All Can anyone explain why the expression "AscW(ChrW(38321))" is equal to -27215 ? (38321 is the Unicode code for one of the Chinese traditional characters) AscW is supposed to return a Long value, isn't it? This also happens in VB6
3
3566
by: Tom | last post by:
Hi, I built a aspx web page which the charset is UTF-8. I need to present the same Chinese content to both Traditional and Simplified Chinese. However, it shows error code for UTF-8, Big 5 or GB2312. All Chinese text cannot be displayed. I installed dot net framework 1.1 with traditional chinese language pack. The server OS is english windows 2000.
7
4313
by: c.verma | last post by:
I have a web application. There is a page which has a datagrid on it.The datagrid displays the data that comes from SAP. SAP sends the chinese characters to this grid. Before I display CHinese charactes, I have to use the following code to let it display on the web page: Public Function ToSCUnicode(ByVal str As String) As String Dim enc1252 As System.Text.Encoding = System.Text.Encoding.GetEncoding(1252) Dim arrByte_GBK As Byte() Dim...
1
1265
by: ad | last post by:
I modify the DesktopPortalBanner.ascx in the Portal Starter Kit http://www.asp.net/Default.aspx?tabindex=8&tabid=47 I modify the text of Portal Home to Chinese. It display well in design time, but it display a mess in run time. How can I solve this problem?
2
1847
by: Jack | last post by:
To whom may concern: In Asp.Net Calender control, how to display week days, like Wednesday as "Wed", Monday as "Mon", even my windows' region is set to Chinese? Thanks in advance! Jack 2005-10-11
3
5439
by: Jennifer | last post by:
Hi, Is there anyone to have idea how to make the MFC CDialog box display Unicode (like Chinese characters) in .NET 2005? We have some dilog boxes created from CDialog class in VC++ 6.0 and try to integrate them into our new project developed in .NET 2005 to display Unicode. Any idea and hint will be greatly appreciated. Thank you in advance. Jennifer
3
1312
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 page from this folder list. All languages are displayed correctly in the HTML rendered by the DropDownList, excpet Chinese (zh-CN), which displays as little squares. I've tried using a meta tag to specify UTF-8 as the encoding for the page, and...
5
11900
by: jearnizck | last post by:
hi everyone! is there someone who can help me, i am a beginner in php, i have a code that displaying images from my images directory but i want it to be in a table style...my output of my code is displying in a single row...i want it to display a limit of 4 columns per row...here's my code...please help me! thanks in advance! <?php // Define the full path to your folder, shouldn't need changing $path = "./"; // Open the...
0
9647
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9492
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9960
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8988
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5397
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4064
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.