UTF-8

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike Gleason jr Couturier

    UTF-8

    Hi,

    I'm uploading a text file (.csv) dynamically to the client with this method
    :

    --
    Response.Clear( );
    Response.AddHea der("Content-disposition:", "attachment ;
    filename=export .csv");
    Response.AddHea der("Content-type", "applicatio n/vnd.ms-excel");
    Response.Conten tEncoding = Encoding.UTF8;

    Response.Write([...]);
    Response.Write([...]);

    Response.End();
    --
    Some accentuated acharacters does not display correctly in excel... but when
    I open the file the characters are displayed fine.. and notepad tells me
    that the file is indeed a UTF-8 file (when file/save as)..

    Im I missing something here? (apparently yes!)

    Thanks guys (and or gals)

    Mike


Working...