By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,435 Members | 2,891 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,435 IT Pros & Developers. It's quick & easy.

Problem when exporting to Excel

P: 2
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.Charset = "utf-8";

but it doesnt work

and tryed:
Thread.CurrentThread.CurrentCulture = new CultureInfo("ar-SY");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-SY");

also not work

and:

<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8" culture="ar-SY"/>

also not work


Can any one help me please!!!
Sep 30 '07 #1
Share this Question
Share on Google+
2 Replies


kenobewan
Expert 2.5K+
P: 4,871
How did you apply the cultureinfo?
ASP.NET Globalization and Localization
Sep 30 '07 #2

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

like this:
Thread.CurrentThread.CurrentCulture = new CultureInfo("ar-SY");
Thread.CurrentThread.CurrentUICulture = new CultureInfo("ar-SY");
Oct 1 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.