If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > FSO and UTF-8

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-03, 17:46
Oznog Oznog is offline
Registered User
 
Join Date: Oct 2003
Posts: 1
FSO and UTF-8

Hi,

It's easy to save file (with FSO) using UNICODE encoding (-1), ISO or serveur setting.

Hi just have to tell

' Unicode exemple
Set oFichier = oFSO.OpenTextFile(path,2,true,-1)

But how do you save that faile using UTF-8 encoding?

I dont have any problems with XML document (Msxml2.DOMDocument.4.0) with use of MS CodePage and charset :

<%@ CodePage=65001 Language="VBScript"%>
<%Response.CharSet = "utf-8"%>

And of course the header :
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

But with FSO I never get UTF-8 File!!

Tx

Oznog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On