Results 1 to 8 of 8

Thread: Check the file encode type?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Knowledge Base Approver VBAX Master Oorang's Avatar
    Joined
    Jan 2007
    Posts
    1,135
    Location
    Good catches. Fixed
    Cordially,
    Aaron



    Keep Our Board Clean!
    • Please Mark your thread "Solved" if you get an acceptable response (under thread tools).
    • Enclose your code in VBA tags then it will be formatted as per the VBIDE to improve readability.

  2. #2
    VBAX Newbie
    Joined
    Dec 2008
    Posts
    5
    Location
    Thanks so much! It really works for XML and TXT files now.

    I also find some problems are from my XML files which are auto-generated and zipped from SUN Microsystems. I have to unzip, open and save (without change) to make VBA return correct charset.


    I am sure if I should open a new post: (I will if you suggest)

    (1) Just quick open and save files:
    Use ADODB.Stream right? or any better suggestion?

    (2) Save with another encoder
    Is "ADODB.Stream.Charset" the best way to do it?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •