Re: Getting around .Net Strings being UTF-16 encoded only

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi folks,

Here is some more information.

The application that is expecting the UTF-8 Encoding creates a file
using the the default that comes in from the web browser and creates
the file via vbscript, windows scripting code. Right now there is no
conversion to UTF-8 happening in the vbscript, the programmer is just
relying on what comes in through the browser to the vbscript (is there
anything funny with variables storing the incoming text as UTF-16 just
like .NET does?)

What I want to do is create the same file but from vb.NET, therefore
that is why i'm using the XmlTextWriter code. Which makes sense to me,
I just want to clarify that my code is correct, and i'm going about
this the right way.

Thanks,

Mike

.



Relevant Pages

  • Re: Getting around .Net Strings being UTF-16 encoded only
    ... The application that is expecting the UTF-8 Encoding creates a file ... using the the default that comes in from the web browser and creates ... the file via vbscript, windows scripting code. ...
    (microsoft.public.dotnet.general)
  • Own macrolanguage
    ... Is there an opportunity to write an interpreter of an own macrolanguage like JavaScript or VBScript for existing web browser like Internet Explorer? ...
    (microsoft.public.dotnet.framework)
  • Re: vbscript encoder
    ... I assume that WHO WANT TO READ IT, you mean people who have direct access to ... side (once it has been sent to the web browser), ... answer...invisible...unless you use vbscript for client-side functions ... Encoded script can be decoded. ...
    (microsoft.public.scripting.vbscript)
  • What objects/methods/properties does VBScript offer for: Assuring ASP/VBSCript PAGE was FULLY Loaded
    ... What objects/methods/properties does VBScript offer for: ... Assuring/guarantee/make certain that ASP/VBSCript PAGE was FULLY ... Loaded into web browser? ...
    (microsoft.public.scripting.vbscript)