International Input/Output
I hope somone can offer some advice. I have built a database accepting information through ASP from clients in UK, Germany France and Russia. I set the ASP codepage to 65001 and the charset to UTF-8 and thought this would be enough to present the information from the different sources correctly.
Russian and English are OK but German and French produse peculiar chars. Set the codepage to 1252 and Russian goes awry. Has anyone some pointers to setup a truly international CMS?
View Replies
ADVERTISEMENT
how you would go about having an input and output on the same page. Like say if the page starts out with a form then you submit and the output is displayed below the input form so that the user can just enter another date and a different output is displayed?
View Replies
View Related
I have a problem with special Slavic (CE) and German charaters.
On the first ASP page I have a FORM (user data...address...) that is posted to other ASP page.
Data is then collected with request.form(item), and then it is written into a DB. Well the problem is that special langauge specific charaters are tranformed into boxes or some other charaters.
I tried the response write to see if it is a problem with the DB part, but it isn't.
Anyway does anyone have a working solution, since I can't find any on the web. I experimentd with codepage and charset, but with no results. Also I tried to post the data to email script - there problem is there.
View Replies
View Related
Is there a way to change encoding of a message created with CDO.Message, or
otherwise send international characters (unicode) in Textbody? The messages
I get now show question signs instead of international characters.
I'm taking the result of a form and send it by email.
The result is like this:résumé
Instead of that: résumé
View Replies
View Related
On first ASP page there is a FORM that user must fill - personal data
& stuff, where users use special language related characters (like
Č, š, Ž...). When I post the form results to another ASP page
that collects the data with Request.form("field"), special characters
usually (90%) disappear, change into boxes or some other characters.
This page should then write the results to a DB or send it via email,
but since the characters are not encoded properly I did not write the
script yet.
I tried to set Codepage and charset, but it does not solve the
problem.
I can't seem to find a solution on the web since I am not sure what to
look for.
View Replies
View Related
I am having problems sending values from a simple FORM to a database.
All is written in ASP, and I am doing some validations before it is
actually saved in my database.
It worked for several years, but now it won't accept international
characters. This means that the Norwegian word for boat "BÅT" ends up
like "BT" since the "Å" isn't sent.
I have done several testings, and it actually looks like the error
occurs immidiately after I hit the submit-button.
Does anybody know why this problem has occured?
View Replies
View Related
I need to filter the username entry in the field during the registration. If I'm not mistaken, usernames can't consist of special characters, only international alphabet characters (a-z,A-Z), digits(0-9) and underline allowed.
I tried with something like "._[a-z][A-Z][0-9]" but it doesn't work.
View Replies
View Related
I have a little code to add multiple items to a shopping cart based
page. This code works perfect, but it adds all of the info to the
same input fields every time it loops. I need it to change the input
names each time it loops. Here is the code:
View Replies
View Related
I have being working with making an edit field over the past few days. The edit function is now working fine. The edit fields that i have are for id, subject, notes, timedate.
All of the edit screens are one line text screens. What I want to do now is increase the size of the notes box to a larger textarea type box to make it easier to edit notes. The notes field in the db is a textarea field. Code:
View Replies
View Related
When using ASP's FileSystemObject to create text files, I am unable to get user submitted text (in Hebrew) to save as anything other than "?????". The text file is being saved in Unicode and setting the CodePage in ASP proved unsuccessful. Strangely, hard coded Hebrew text in an ASP variable does add to the text file correctly.
Any ideas of why this happens and how to get it to work correctly?
View Replies
View Related
How can I retrieve the output that has been sent to the client, e.g
[vbs]
<html>
<head><title>Test</title></head>
<body>
this is output
</body>
</html>
<%
Dim strContents
'Now I want to put the contents in an variable, something like
strContents = Response.Contents '(but that doesn't work)
%>
[/vbs]
View Replies
View Related
With this line of command :
Response.ContentType = "application/vnd.ms-excel"
I can output a file in XLS format with no problem.
But on a specific server, the file pops as an ASP page. My code is fairly simple.
Does the server need to have Excel installed in order to work ??
View Replies
View Related
How do I output an ASP variable insde of Javascript?
View Replies
View Related
The problem i have in my system you can seacrh clients and then display their details. what i wanna do is find the client i want and then have a button called e.g. generate and then the asp pops up a word or rtf document with there details sloted in to a preformatted document.
Now i know i could do this by creating the doc line by line with asp on the file but is there a faster way of just inserting the asp values into placeholders in the word or rtf file which has already been setup?
View Replies
View Related
I'm having a problem controlling the output from an access db and the css two column layout. It goes like this.Left side has a connection string and outputs 3 columns of db data to the leftside of the page. There is also a conection string on the right side of the page. It outputs that db data AFTER the right side processes that data. So the page is staggered, left to right instead of displaying the results across from each other.
View Replies
View Related
I have an ASP program. It outputs HTML with some
XML data islands in it. When I run the program, the
browser sees the HTML and doesn't work the way
I want it to. however, if I view source on the output
page, save the source as an XML file, then open the
saved file, it works properly.
How do I get the browser to treat the output from an
ASP program as XML instead of HTML?
View Replies
View Related
How can I send gzipped (compressed) output back to the browser, using ASP (and IIS)?
I'm looking for a function similiar to PHP's ob_start("ob_gzhandler"); function.
View Replies
View Related
This is really puzzling me; I am developing a site for a client and have uploaded it to a remote server with ASP enabled; I and my friends do not have a problem diplaying the output HTML from my ASP statements however, my client is unable to see it. He says he can see all the other page (CSS layout) but is unable to view the content (output HTML) from my ASP statement.
Now I am clever enough to know that ASP is server side, so I cannot understand why he can't see it- and he has tried this with two of his computers.
The only possible explanation that I can come up with is that he may have Javascript disabled in his browser as my pages contain a small amount of Javascript.
View Replies
View Related
if guy can help how to output if my customer make reservation....enter everything ..etc enter first name, last name. then after click make reservation button it will come out his/her name on the page for his/her referrence ...then it will clear once another customer enter it.
View Replies
View Related
This might sound stupid to you guys, ok i have this:
------------------------------------------------------------
perc = (total*100)/limit
response.write (" You are using ")
response.write perc
response.write (" % Of your 1GB")
-------------------------------------------------------------
but on the output i just need the first two digits, but i get this
You are using 21.8057899 % Of your 1GB
View Replies
View Related
Please guide me. How can I output the records from my recordset in columns in a table? That is, instead of just one record per row in a table, how can I have multiple records per row?
View Replies
View Related
There is no error in the code but can't get output from this code;
<html>
<head>
<title>g</title>
</head>
<% set db=server.CreateObject("ADODB.Connection")
db.Provider="Microsoft.Jet.OLEDB.4.0"
db.open "C:/data/CIS_data.mdb"
VarQuery="SELECT FullName,ICNo FRoM Patient_Details"
set rs=db.Execute(VarQuery) %>
<% Do while NOT rs.EOF %>
<% rs.movenext %>
<% Loop %>
<% rs.close %>
</html>
</head>
View Replies
View Related
if something similar to php (ob_get_contents(), output
buffering) exists in ASP/VBscript.
View Replies
View Related
I haven't being doing that much in ASP, but I have to create this:
It has to read out data from some DB to excel.
The following (corrected) code works if just it outputs as html, once
the Response.ContentType is excel. then it offers to open/save the
file, and stops - file not found - what do I do wrong? Code:
View Replies
View Related
this question is not about SQL exactly
so, I am asking here.
how to get output from sql procedure ?
my sql p. like below
Code:
if not exists(select .....................)
set @result=0
else
set @result=1
so, how can I get @result in ASP
View Replies
View Related
Does anyone know of any freely usable code that helps automate the
process of generating RTF files from ASP (particularly generating the
code needed for tables)?
View Replies
View Related
I created an RSS script for my readers to use, but I have been having some minor issues with it.
Actuallyit works fine and I have tested it in 3 feed readers without a problem. Still it does not output as perfect XML if you go here you will see what I mean. Code:
View Replies
View Related
GOT IT
SOLUTION= replace((date), "/", "")
how can i output todays date like this
11302006 ??
View Replies
View Related
I am trying to build a knowledge base for use in out internal IT department. It uses SQL to store the data and at first just printing out the questions and answers in a table in plain text was great, but now I have run into a place where there needs to be links and line breaks and spacing. Formatting in general is going to be needed for anything with an answer over 1 line long.
It also needs to be able to be updated. I have the code working for the update right now, but I am not sure how to go about getting the ouput from the database to display where links are highlighted and such.
View Replies
View Related
When the output is in excel format for an ASP page, some of the values displayed get transformed to decimal numbers instead of their true values. How to solve this problem? When the output is in plain html, the values are displayed correctly. Note that the values to be displayed are in TIME format. How can i change the format of excel cells in asp?
For output in excel when the form method is POST, no parameter values get posted to the other page. But when it is GET the values get posted. Y? I even change use request.querystring for GET but the result is the same.
View Replies
View Related
I am sending a form to UPS and upon successful completion of the form, the UPS sends me a single output containing several variables and their values on the screen. I need to prevent it displaying on the screen, save it in a variable and then extract information I need and display those values with my format on a table. How can I do that. I heard in ColdFusion there is <CFHTTP> that does that. Is there equivalent of this in ASP.
View Replies
View Related
how you parse " in asp. I know in php is it ". Also is a proper text output =("test") ?
View Replies
View Related
i m giving link print this article to my users to print the page.
Code:
<A HREF="javascript:window.print()">Print this article</A>
but it is printing whole window but i want to print only news part. i want to make the printed output "printer friendly". means stripped off the left and right side crap. And the banner ad at the top.
View Replies
View Related