Link to home
Start Free TrialLog in
Avatar of Mazen
Mazen

asked on

File encoding in source safe

Hi,

   I have an application is on the source safe, and the webforms (.aspx) files have data written in arabic. The encoding I am using to save arabic data is Unicode 1200.  If another programmer checks out the file after I check it in, then the file will be corrupted. And if I use different encoding then the file will be ok but the arabic data will be corrupted. Is there a way to solve this?
After I change the encoding to Unicode 1200, I get the following message, maybe you'll find it useful:

The character encoding for the file D:\Projects\test\aspx\myfolder\myfile.aspx has changed. Your source control provider may have problems managing files with this type of encoding. For example, if you save an ANSI-encoded file as UTF-8 and then check in the file, the master copy may be corrupted.

Help!!!!!!

    Mazen
Avatar of mmarinov
mmarinov

Hi,

how do you set the Unicode 1200 to your pages ? have you use Advanced Save Options from the File Menu ?

Regards,
B..M
Avatar of Mazen

ASKER

Yes this exactly what I did. File -> Advanced  save options and then I choose Unicode 1200.

   Mazen
ASKER CERTIFIED SOLUTION
Avatar of platinum505
platinum505

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Mazen

ASKER


  Thank you both alot. Saving the files as binary files solved the problem. It works just like I wanted it to and it saved me alot of trouble.
      Mazen