Chinese Encoding

I developed a site in English but need it to be viewed in chinese.

Is it possible if so how do i go about it.

I've tried various ways but i can't get it to work.

I've done the following but it yieled no results.

<body lang="zh-TW" xml:lang="zh-TW">

Is there anything else i can do....

View Replies


ADVERTISEMENT

Simplified Chinese

I have a 3 layer system, SQL Server 2000 database, COM+ dll's (VC++ 6) and
ASP frontend, this system has been in production for quite some time using
english, spanish and portuguese versions. Now I've been asked to test the
system to function with Simplified chinese. The development of the system
was outsourced and we don't have communication with the company (some sort
of legal problems i think).
Now, I've been reviewing the code and recompiled one of the core DLL's for
unicode support with no problems, I've tested the database (SQL Server 2000)
inserting Simplified Chinese characters and the DB supports it fine (the DB
fields are NVARCHAR), in the ASP frontend, the retrievel process (calling
the COM+ DLL functions) works fine displaying this data I inserted directly
in the DB.

View Replies View Related

Chinese Asp To English Asp?

I have this program we use at work that keeps track of everyones hours and its what they use to clock in and out.

the whole this is in .asp and theres alot of bugs and things that need to be fixed but we cannot get much support on it so I was thinking of going in and fixing those things myself. but the thing is they seem to be in chinese is there a way i can convert the pages to english?

View Replies View Related

Chinese Character

some one cuts and pastes the chinese charcters.
they are saved in DB as
---- case1 : ----

& # 6 5 3 9 6 ; & # 6 5 4 2 7 ; & # 6 5 4 1 9 ;
----
i used the space above as it is converting the characters while posting..
but i noticed some few records which are saved as

-- case 2 --
ÓÀÀÖ´óµäÏ·ÎÄÈýÖÖУ
---

if values are stored as case1 then i have no problem.
but with the case2 .the chinese characters are shown good in few pages and at few pages they are shown as it like symbols.
when i cheked the its the same.what shd i do to see that in a html page these character codes display correctly?

View Replies View Related

Chinese Chars In XML

I am having a probem with asp, xml, com while using chinese chars. The chinese letters come out of com fine and they are also fine when i use asp to write to a text file.
When i load the chinese chars into an xml dom they become invalid Chinese chars show as this æˆ'çš,,模æ?¿. but when i doa xsl translation then some of the chinese chars are displayed and some are shown as garbage chars. My ASP Page has the following headers

<%@Language=VBScript CodePage="65001"%>

<%
Response.CharSet = "UTF-8"
Response.ContentType = "text/html"
%>

My XSL has the following header <?xml version="1.0" encoding="UTF-8"?> ..

View Replies View Related

Chinese Del Key On Web Forms

I'm currently having trouble with porting our classic ASP web app for Chinese users - in any web form, the Del key on a chinese keyboard clears all of the fields in the form, which is not ideal.

View Replies View Related

Chinese Character Conversion???

I've got an english site designed that I need to translate into Chinese.

I've got the Chinese wording to work with but I can't figure out how to get it into my code.

I thought I could simply paste the chinese characters from a Word document into my html editor between <P> tags using the PMingLiU or SimSun font but it just enters like this:
&#20844;&#21496;&#31616;&#20171;: turns into ????:

View Replies View Related

Simiplied Chinese Problem

I am writing an asp page which reads an access 2000 database. In the access database, there is data containing the simplied chinese characters. I used the following connection string to connect to the access database.

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & GetServerPath & "..myDB.mdb;Persist Security Info=False"

When I use "Response.write(rs.fields("theField"))", I cannot get the original string which I can see in the Access. In fact, I have tried to use charset=gb2312, charset=big5, charset=utf-8 to encode the string, but all fails. (I am using tradition chinese OS). Can anyone help me?

View Replies View Related

Prevent Displaying Chinese

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.

View Replies View Related

Passing Chinese Characters

How do I Pass chinese characters, charset GB2312 and BIG5, from Form to SQL using asp?
My field in SQL is already set to nvarchar.

View Replies View Related

Display Both Chinese And Portugues

I have been add the vb script:

......codePage=65001%>
and html document add the followings
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

But I cannot correctly received the chinese data (request.querystring) from other asp page, which data are the user input from it.

View Replies View Related

Chinese Character Conversion

I've got an english site designed that I need to translate into Chinese. I've got the Chinese wording to work with but I can't figure out how to get it into my code.

I thought I could simply paste the chinese characters from a Word document into my html editor between <P> tags using the PMingLiU or SimSun font but it just enters like this:
????: turns into ????:

View Replies View Related

Handle Chinese Characters

hwo to use ASP to handle chinese characters output? I have try two ways.store the string in a text file(unicode file) . store the string in an access database

The first method got an error:

Active Server Pages error 'ASP 0239'
Cannot process file
UNICODE ASP files are not supported.

The second method output "???" on the browser.

View Replies View Related

Chinese Characters In Asp Website

I've built a simple asp website with sql 7.0 backend. There's
a form based screens to save info to the database. I'm having problems for
some of our Chinese customers - they are saving information in Chinese
characters and they are being translated into weird characters. For
example: Code:

View Replies View Related

ASP Encoding!

I am running the Script Encoder on ASP file,
however I gets this message no matter what I do to this
file, I even clean up most of the html tags.

Why the Script Encoder Object failed to encoded asp file,
but it works fine on .js files.

Here is the message I gets:

Microsoft(R) Windows 98
(C)Copyright Microsoft Corp 1981-1999.

C:Encoded Script>screnc *.asp c: emp

Scripting encoder object ("Scripting.Encoder") failed on
C:Encoded Scriptine2c.asp

View Replies View Related

Encoding

I want to encode the data send from my website to server page. ie I want to hide from the user.

View Replies View Related

URL Encoding

I have a page that got a textbox to submit a string to another page, when the second page recieve the string the url of that page looks like this: Code:

View Replies View Related

Getting Error Trying To Download URL Containing Chinese Characters

I have the following URL that was HTML encoded in my web page:

<a HREF="transfer/rad0/﨨.jpg" TARGET="_blank">﨨.jpg</a>

I am attempting to download this file which is simply one chinese character followed by .jpg. For IE, Netscape, Safari I right click on this URL and attempt to download the file. If the name contains only ASCII characters it works. I also cannot cut and paste this URL directly into IE and retrieve my image either. What do I need to do to be able to use Chinese (unicode) characters in URL's?

View Replies View Related

Read Chinese Character From Excel Using Asp

I use asp to develop a web page to read an excel file containing Chinese Character then display it in the web page. Unfortunately, I cant display it!!! it will display (?????????). Code:

View Replies View Related

Character Encoding

I have a partner sending me by post method to an asp page some text (xml
string).

It arrives to my page encoded as follows
%9a%2f%Purchaseorder%3....f

The < and > and spaces are replaced by nuùmbers and percentage sign
I am using Request.BinaryRead(BytesTotal) and then doing response write and
I am getting exactly the same string with the encoding
How can tell my asp page to translate the encoded text to normal text?

View Replies View Related

Encoding Cookie.

When I run the ASP page for the first time, I find out, that the Cookie file name contains some several special characters such as %5F, which are encoded with a URLEncode function. So, I have the following string (after convert): ....

View Replies View Related

XML-Encoding Problems

I'm using ASP to load an XML file. German Umlaute work fine all the
time (I use <?xml version="1.0" encoding="iso-8859-1"?> so they
should). Except this time where I add a text to a child which I then
fill with text which contains an "ä". The ASP-error is:

"An Invalid character was found in text content."
(Or I believe that's the English translation, I get a German one, as
I'm on a German system.)

I read something about this error however even some suggested fixed
don't work. I installed the latest MSXML (4) and use
"Msxml2.DOMDocument.4.0" for server-createObject.

Actually all I want to do is save some text coming from a textarea back
into a little file.

View Replies View Related

Encoding The Ampersand(&) In A Url

I'm trying to use a popup window initiated from javascript to display pictures. Some of the directories and pictures contain &'s in the name or path. I've read the posts about Encoding but I cannot seem to get the get this working. Encoding the path to replace the & with %26 just gives me a page not found.

<script language="javascript">
function NewWindow(url, w, h)
{
url = "http://intranet/Marketing_Photos/" + url;
window.open(url,"_blank","width=" + w + ",height=" + h + ",left=0,top=0,scrollbars=yes,resizable=yes");
}
</script>

url is the subdir and picture name, i.e. subdir/pic.jpg

Mareting_Photos is an IIS Virtual Directory pointing to a different server.
Everything works, the pictues display, except when I pass a url with an & in the path then I get the page not found error.

I can type in http//intranet/Marketing_Photos/SomeDir/Some%26PicName.jpg (replacing the & with %26) in the browser address bar but I get a page not found.

View Replies View Related

Encoding Proplem

for arabic language im using the write code which is

<%@ Language=VBScript CodePage = "1256"%>

it works good when i try to display data but no good work when i try to insert data
im using sql server 2000 database.and most of my pages r self refrencing like that

if st=1 then

code here

end if

and of course im using the encoding code 1 time above the page </DIV><DIV>

View Replies View Related

Ansi Encoding

i need to connect to a dbf database with ansi/oem encoding the connection is ok but i have problem with page encoding the characters don't display as they should! does anyone have any suggestions??

View Replies View Related

BASE64 Encoding

I've finished my whole application and now I don't like the whole
session variables that I am using. I have a form, user fills in info
clicks submit and using CDOSYSMail an email link gets created with an
encoded query string. i.e
http://www.yahoo.ca?#$@%@&#%#$@&^@%# which translates into
http://www.yahoo.ca?userID=54&LocationID=Denver.

Now when the user get's this email and clicks on the link I have a
decode function(again using BASE64) that takes that url and decodes it
to http://www.yahoo.ca?userID=54&LocationID=Denver. My app then
connects to the database and pulls info associated with that
querystring. I am doing the passing from page to page using session
variables. I do not want to do this? Any ideas How I can take what
is encoded in the url link and decode it on the next page? Let me
know if there is a simple solution to this. I love the encode/decoding
function.

View Replies View Related

Page Encoding - RSS

I am getting an error in my attempt to run RSS feeds via ASP

Error...
encoded as "utf-8", but your server is reporting "US-ASCII"
I've tried windows-1251 but do not seem to be able to change the output from the servers default

The problem is the data from an Access db contains hyphens and ampersands etc which cause a problem if the db content in the xml is read as US-ASCII

How can I encode the page in ASP so that it can display the correct encodingmfor xml.

View Replies View Related

UTF8 Encoding

I have an oracle database where I store my html files on. While uploading I call the server.HTMLencode function to encode the blog but that's not enough. Once that is called I would like to encode the rest of the text through UTF8. Is there a predefined function that I can use to do this?

View Replies View Related

Character Encoding

I have created ASP with database application over a PHP based software. My problem is I get data from Excel files with an encoding as SJIS (Shift-JIS) and save it to the database.

And the PHP software is the one that displays data in the web but using UTF-8 (unicode). I need an API in ASP that will convert charactrers from SJIS to UTF-8.

View Replies View Related

Encoding ASP Files

Does anyone know of a good way to encode/encrypt ASP files so the code is
hidden, but still able to be read by IIS when requested? I have done some
searches and have found that using vbscript.encode would work, but that it
is very weak and tools are readily available to decode them. I have also
seen two products that claim to do this, but they either just used
vbscript.encode, or didn't work even on extremely simple asp files.

View Replies View Related

Encoding French

I used "Request.Params["sName"]" on the Page_Load event.

I could not read the French like "é" If the sName has French, ie. if I pass the url like "webFom1?sName='abé'", then the Request.Params["sName"]"will equal to "ab", the "é" get choped.,
What should I do?

I used System.text; and set Request.contentEncoding =encoding.default or
Request.contentEncoding =encoding.utf-7, none of them works.

View Replies View Related

Ignore Encoding

if I read an XML document using ASP without any encoding, ican read it fine, but if an XML document contains an encoding parameter, like the following, ...

<?xml version="1.0" encoding="ISO-8859-1" ?>

... then it doesnt work and just stops working with no errors.

Can I ignore the encoding, if so how?

View Replies View Related

Display Chinese Character, Work In One Server But Not In Another

I have an asp to display data in database, the data is in big5 encoding
(chinese characters)

I haven't specify the codepage in the asp and placed the file into 2 machine.
When I browse the file in NT machine the chinese characters can display
correctly, but doesn't for the page in my winxp machine. Both OS is english
version. Since the file is actually the same (by copy and paste), so any
setting in the OS or IIS level cause the problem?

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved