I have loads of text in russian chars that I need to put to a MySQL db (version is 3.23).
a) Is there some way to make MySQL db to accept russian chars?
b) If not, there must be ready-to-use functions to convert the russian chars to HTML-entities?
The site is done with ASP & VbScript, but of course JScript/Perl script based function suits well too. I've tried searching with Google too but thin results
The problem is that a person uses kind of a CMS where he/she can type different language versions of certain phrases. In practise there is a textarea type of field for all languages where he/she types the russian text which is then saved to a MySQL database.
I need to pick this tag in a variable in ASP, and decode the ? into it actual value. There can be a lot of codes like this, so I need a decoding function.
Can anyone help me in this regard? Does ASP provide this functionality?
I am setting up a website similar to http://www.4mobilefun.com/mobile-gam...ware/index.asp. For search engine reasons I need the website to html format. The website will be given to me in ASP format. For example: I want http://www.4mobilefun.com/mobile-gam...ware/index.asp to be http://www.4mobilefun.com/mobile-gam...are/index.html and http://www.4mobilefun.com/mobile-gam...ake=nokia+7250 to be http://www.4mobilefun.com/mobile-gam...nokia7250.html and http://www.4mobilefun.com/mmsend.asp...es&object=game to be http://www.4mobilefun.com/mobile-gam...cksnbabes.html
I need to know a method that how can I convert html document (asp generated html text report) into a PDF document. Is anybody has a good tool for this, or anybody can tell me where I can get such tool. There are lot of tools which are available for sale, and I'm looking for a free product.
i have a big problem and I don't know how to solve it..
I have an asp page (that contains some queryes to a sql db). I need to generate, after loading this page, an html page (that will be saved in a different server folder) that contains the html output of the asp page.
i wanna convert the HTML tags in the Textarea with help of the ASP code. Means i m getting some value form DB which comes in the format of ------------ this is text <br><br><ul><li> list-1 value</li><li>list-2 val</li></ul> ------------ i wanna conversion of the above text in textarea
I am trying to get a poor mans mod-rewrite done on an IIS server which I do not have full access to.
What I have decided to do is literally copy the interpreted code from the asp page and create an html file with the name that I would like.
Other than manually doing this, is there an ASP or VB command to save the contents of a page after its been run on the client side, and save it as another file?
I'm looking for an activex com that will be given an existing url and turn it into pdf binary stream (no files on the server) either that or turn into a tiff image.
I would like something that has a small footprint meaning no impersonation, no visual screens, just pure sdk ...
I'm using XMLHTTP to screen-scrape many thousands of pages of content as part of a data-structuring project. One issue that I'm running into is that some entities such as curly quotes and curly apostrophes do not translate properly; they're returned as question marks indicating an unidentified character.
I'm guessing the usual hack of writing a translate function doesn't work since the problem lies in the data being pulled down by XMLHTTP. Is there anything that can be done, short of using a different screen-scraping component? I intially used something called "ASPTear", but moved to XMLHTTP since it seems to return fewer errors in production.
OK - I have a shopping basket with data in a database. Once the person has successfully completed their order I want to be able to send them an email with the products ordered roughly in the following format:
Product Price Quantity
prod1 £6.99 1 prod2 £5.99 2 Postage £0.50
Total whatever..I'm lazy
Formatting would be a little different (just spacing out the prod table a little more.
Any ideas or links to scripts that do this?. I've been looking for a while now but have had no luck in finding a solution. I just want to send a text email (and not html).
The other thing is that on the last page but one, this shopping basket is displayed. Is there anyway I could capture the html data from that page, store it in a session variable and then generate the email after the order has been completed (so sort of like sending a mirror of that page)? In that case having a HTML formatted email would be ok.
I would like to create a site which shows text in English or in Russian (depending on the user's choice).
Problem is that I can't save the pages in Unicode (Unicode can contain Russian characters), because IIS can't handle Unicode ASP pages (correct, right?!).
So how can I have normal (ASCII) ASP pages, which can show either text in English or Russian (charset Windows-1251)???
I do not understand the purpose of the VBS Codepage setting - <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> nor the meta tag - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">.I assume the SQL Server Collation setting has a purpose in this also.What should the Codepage, charset and Collation be set at to build a site with Russian text?
I can type Russian characters into a webpage with the above settings, aswell as English ones and other languages. Having read umpteen articles on the web about codepages, character sets and encoding, I think I am more confused now than I was when I started. Could you recommend a tutorial on this whole subject?
I am to develop a multi-lingual website / content management system. I will use ASP (IIS on swedish or english windows 2000), Access, and for the content editing i will use the built-in editor in IE (in an IFRAME). Primary languages/charsets, apart from the western languages (swedish, english etc) will be russian and arabic.
Does anyone know how (if) this works? What should my main concerns be, will it work and what will the likely problems be?
I've tried to insert arabic text in regular text-fields in existing applications, but when they reach the database the text has been alterd. Though I can paste the same text directly into the database. Why?
My database (.mdb) has a 255 lenght text field, I need to insert the content of a request.form of not a text field, but a TEXTAREA:
---code--- <textarea name="comentario" rows="10" cols="50" wrap="PHYSICAL"> --end-code- how can I limit the textarea to a max number of characters, like 255? I think I should use any ASP code and a "there is an error" page, but I dont wonder how to made the sintaxis.
I know we have this thread somewhere, but I can't seem to find it now
I want to show the first 100 chars of a string, but I don't want a word to be cut in half at the end, it must show the whole word then and go a bit beyond 100 chars.
This will be used for a comments system, comments will be displayed on the front page, and I want the field (Comment) to only display the first 300 or so chars
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
Part of the content of one of our web pages uses wingdings and Chr(239) through Chr(242) (which are little arrow outlines, though that's not really important.)
It worked just fine in Windows 2000 Server, but now under Server 2003 it seems that characters above 127 get converted somehow, and our code no longer produces the desired effect.
Does anyone know how to make it send our content without modification, or how to encode it in a way that it makes it out to the browser with the intended character value (as opposed to some thoroughly useless conversion to a 7 bit value)?
I have an ASP function in place to strip invalid chars out of a data store before I create an XML file of this data, but my function doesn't work on a certain set of chars.
As far as I can see these are the following:
a) trademark char b) long hyphen/dash char c) smart/curly quotes (both left and right)
Even though my function is set up as follows: Code:
I have a form where the user enters a customer name, then clicks the submit button which then adds it to a database. This works absolutely fine untill the name has an apostrophe in it.
eg when the name entered is O'Hanlon and its submitted, I get this error.....
Microsoft JET Database Engine (0x80040E14) Syntax error (missing operator) in query expression ''O'Hanlon'
I have an application that let's the user enter text into a textbox and this data is collected on the server and stored in a database.
The page is multilingual and sets Response.Charset to the appropiate for the language, for example gb2312 for chinese etc. This made all texts on the page show up alright.
However, I did not change the codepage of the page so ASP encoded the post data sent to the server and I have got really ugly texts for certain languages.
I have had applications before doing the same thing where the page has been able to decode the posted characters again when redisplaying them, but in this case I haven't been able to get anything meaningful from them.
It seems to me that the encoded text depends on the charset used when entering the text, entering chinese characters when using iso-8859-1 gives me character codes like Ó’ which probably would be alright to convert but chinese text that has been entered in the gb2312 charset look like this Code: