Problem when exporting to Excel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heba84
    New Member
    • Sep 2007
    • 2

    #1

    Problem when exporting to Excel

    i have aproblem when exporting grid view to excel

    all columns display correct except the arabic ones it SOMETIMES look like garbage

    I try:
    Response.Charse t = "utf-8";

    but it doesnt work

    and tryed:
    Thread.CurrentT hread.CurrentCu lture = new CultureInfo("ar-SY");
    Thread.CurrentT hread.CurrentUI Culture = new CultureInfo("ar-SY");

    also not work

    and:

    <globalizatio n requestEncoding ="utf-8" responseEncodin g="utf-8" fileEncoding="u tf-8" culture="ar-SY"/>

    also not work


    Can any one help me please!!!
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    How did you apply the cultureinfo?
    ASP.NET Globalization and Localization

    Comment

    • heba84
      New Member
      • Sep 2007
      • 2

      #3
      Originally posted by kenobewan
      How did you apply the cultureinfo?
      ASP.NET Globalization and Localization

      like this:
      Thread.CurrentT hread.CurrentCu lture = new CultureInfo("ar-SY");
      Thread.CurrentT hread.CurrentUI Culture = new CultureInfo("ar-SY");

      Comment

      Working...