Localization problem

A

Aleyna[]

Hi,
I've just moved to my new server which is located at USA(meaning, default
language is Englsh) however I saw that Turkish characters do not seem
properly.

I viewed the uploaded files via remote desktop and saw that Turkish
characters seem corrupted but after downloading and opening it on my
computer, everything seems ok.
Same problem also appearred in my database.
I used UTF-8 for the file encoding and also set UTF-8 for request and
response encoding ?

What is happening? What can I do?

Appreciate any help.
Thanks
 
G

Guest

Hi,
I've just moved to my new server which is located at USA(meaning, default
language is Englsh) however I saw that Turkish characters do not seem
properly.

I viewed the uploaded files via remote desktop and saw that Turkish
characters seem corrupted

What files? txt?
 
A

Aleyna[]

I am talking about the all files, aspx, ascx and so on...

I simply solved the problem by changing the default encoding of web server
to Turkish
but the same problem occurs when I use other languages say arabic or
hebrew...

Isn't there a certain solution for that? And what can you suggest about
which encoding I should use for all of my files.
 
G

Guest

I am talking about the all files, aspx, ascx and so on...

I simply solved the problem by changing the default encoding of web server
to Turkish
but the same problem occurs when I use other languages say arabic or
hebrew...

Isn't there a certain solution for that? And what can you suggest about
which encoding I should use for all of my files.

Where do you "viewed the uploaded files via remote desktop"?
Did you used a VS.NET or other UTF-enabled editor, or you opened aspx
in IE?

Does the page looks corrupted if you open it in the browser from your
client PC as http://yoursite/page.aspx?

I think normally it should not be a problem with UTF even for Arabic
or Chinese.
 
A

Aleyna[]

I used a UTF enabled editor on remote desktop. Even I tried to save pages in
other formats (Unicode, ANSI) and corrected some corrupted words then tried
again but nothing changed.
Does the page looks corrupted if you open it in the browser from your
client PC as http://yoursite/page.aspx?
Yes, the same problem also occured on my browser(in fact that's the real
problem) when I simply visit the website. I also tried from different
computers but the result is the same.

How come this can occur even if I use UTF? I undertand nothing!
Can it be releated with VS? Can I change my default encoding on Visual
Studio?
Because I just design website on VS and deployed it.

By the way, thanks for your interest.
 
G

Guest

I used a UTF enabled editor on remote desktop. Even I tried to save pages in
other formats (Unicode, ANSI) and corrected some corrupted words then tried
again but nothing changed.

Sounds like you saved your form in Turkish, not UTF-8.

You should save your aspx in VS.NET on your client PC in UTF-8.

File -> Save As -> Save with Encoding

then copy it to your server

Ensure that the web.config has

<globalization requestEncoding="UTF-8" responseEncoding="UTF-8"
culture="tr-TR" uiCulture="tr"/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,812
Messages
2,569,694
Members
45,478
Latest member
dontilydondon

Latest Threads

Top