Home > Cannot Process > Cannot Process File Unicode Asp Files Are Not Supported

Cannot Process File Unicode Asp Files Are Not Supported

Thanks Lars!! Regards /Hans Jul 19 '05 #6 This discussion thread is closed Start new discussion Replies have been disabled for this discussion. I have this in asp files but I cannot save them as Unicode because the ASP engine does not support it - the error is as follows: "Active Server Pages, ASP Unacceptable, then... Check This Out

the error went away...but still it was not showing the arabic characters properly... So the problem seems to be either: * ASP classic's #INCLUDE feature not handing UTF-8 files properly * ASP classic's dispensation of UTF-8 encoded files, or * IE's presentation of a XmlDocument xDoc = new XmlDocument(); xDoc.LoadXml("\r\n" + ""); XmlNode testNode = xDoc.SelectSingleNode("/test"); testNode.InnerText = "§"; StreamWriter sw = new StreamWriter(@"C:\__test.htm", false, Encoding.UTF8); sw.Write(testNode.InnerText); sw.Close(); StreamReader sr = File.OpenText(@"C:\__test.htm"); Check out my old blog .. https://support.microsoft.com/en-us/kb/245000

Contact Us - Wrox - Privacy Statement - Top Powered by vBulletin Copyright ©2000 - 2016, Jelsoft Enterprises Ltd. © 2013 John Wiley & Sons, Inc. This will enforce the encoding (which you in IE can see by right click->Encoding) in the page to be utf-8. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 2 Star 0 Fork 0 blonkm/quizbaker Code Issues 4 Pull requests 0 Projects

It's quick & easy. Programmer Helper This is a basic site for dealing with programming help. Thanks in advance.. 0 Comment Question by:x1877 Facebook Twitter LinkedIn Email https://www.experts-exchange.com/questions/20936871/UNICODE-ASP-files-are-not-supported.htmlcopy LVL 2 Best Solution bysomchaiu You have to use UTF-8 rather the 16-bit native unicode file. So how on earth do I fix this?

Jon "Lars Hansen" wrote in message news:[email protected].. What is going on and how do I fix this? Register Help Remember Me? http://axcs.blogspot.com/2007/06/solution-for-unicode-asp-files-are-not.html Jul 19 '05 #2 P: n/a js Thanks Marks!

In the To field, type your recipient's fax number @efaxsend.com. Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. What is it and how can I fix it? UTF8 encoding for the file output didn't do a thing for me, as I get those junk characters when I do.

The second method output "???" on the browser. https://www.webmasterworld.com/forum47/2213.htm This file is embedded as an in an ASP classic page with no specified encoding, and then I see the junk characters. Suggested Solutions Title # Comments Views Activity how to hide hide popup page refresh second time? 10 65 70d Dreamweaver server behavior gone 6 59 70d how to hide hopscotch tour You signed in with another tab or window.

Awesome Inc. his comment is here By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. Surely it must be possible - am I missing something basic?

On another web app, an ASP classic app, now I get: Active Server Pages error 'ASP 0239' Cannot process file /blog/default.htm, line 1 UNICODE ASP files are not supported. Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We Similar topics How to print chinese characters using WritePrinter API on Zebra Printer Chinese character detection Chinese Characters Importing chinese characters MSXML and UTF-8 chinese characters asp.net chinese encoding XML with this contact form Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts Error - "UNICODE ASP files are not supported" When I run ExecuteTransfer.asp (Chapter 7 Page 284), I receive the following error

Add a tag or add a custom HTTP header on your virtual direcotry with customer Header Name "Content-Type" and value "text/html; Charset=utf-8" (without quotes). Regards /Hans Jul 19 '05 #4 P: n/a Hans Sorry if this mesage is sent twice (it was immeidately removed for some reason) You must of course have a unicode font store the string in a text file(unicode file) 2.

Post your question and get tips & solutions from a community of 418,772 IT Pros & Developers.

UTF8 encoding for the file output didn't do a thing for me, as I get those junk characters when I do. So apparently Unicode files are the exception and not the norm. If I open the file in Notepad, the character is "§", but when I view it in a command prompt with the "type" command, I get "┬º", whereas if I type Thanks Lars!!

So apparently Unicode files are the exception and not the norm. In your access database open a table and select a unicode font in Format->Font menu to see unicode characters in Access. Thread Tools Display Modes

#1 (permalink) February 11th, 2005, 01:46 AM srt18 Registered User Join Date: Feb 2005 Location: , , . navigate here thanks all for ur help... 0 Featured Post Highfive + Dolby Voice = No More Audio Complaints!

Surely it must be possible - am I missing something basic? Jon Nov 15 '05 #3 P: n/a Lars Hansen Hi As Jon Skeet points out, you are likely to have an encoding problem. UTF8 encoding for the file output didn't do a thing for me, as I get those junk characters when I do. Jon "Jon Davis" <[email protected]> wrote in message news:[email protected]..