Encoding for AMERICAN_AMERICA.AL32UTF8 equivalent in Windows RRS feed

  • Question

  • Hi All,

    We have the data source which we are getting. We are storing it in the database and getting the data from the database.

    Once we get the data from the database, we are creating .CSV file using the below code.

    Encoding isoWesternEuropean = Encoding.GetEncoding(28591);

    swData =

    new StreamWriter(new FileStream(dataFilePath, FileMode.Create, FileAccess.ReadWrite), isoWesternEuropean);

    Once we create this file on our Windows system, we have to send it to UNIX system, which is supporting AMERICAN_AMERICA.AL32UTF8. When we send the file to UNIX system and when they are reading they are getting Junk characters. The file shouldn't have BOM character in the beginning of the file and should support France characters and also has to support AMERICAN_AMERICA.AL32UTF8 UNIX. Please let me know how can I create the file.                                                                                              

    Tuesday, February 18, 2014 1:42 PM