Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

UTF-8 code page

Status
Not open for further replies.

nnmmss72

Programmer
May 14, 2006
110
IR
i am Coding a aspx pages in Persian (RTL Language) the problem is that when i upload the pages to the remote host the pages text are shown not correctly, i have test code page utf-8 and windows 1256 but no difference,
for showing pages in languages other than englsih , what changes and in where should i apply?
 
Take a look at the CurrentUICulture class

Something like

System.Threading.Thread.CurrentThread.CurrentUICulture.TextInfo.IsRightToLeft = true;

Might need a bit more work than that but it's a starting point for you.

HTH

Smeat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top