sql server - sql clr c# class can't save unicode characters -


i'm trying write sql clr user-defined function visual studio 2012. http://msdn.microsoft.com/en-us/library/w2kae45k(v=vs.80).aspx

  private static readonly string[] vietnamesesigns = new string[]  { "aaeeoouuiiddyy",   "áàạảãâấầậẩẫăắằặẳẵ",   "ÁÀẠẢÃÂẤẦẬẨẪĂẮẰẶẲẴ",   "éèẹẻẽêếềệểễ",   "ÉÈẸẺẼÊẾỀỆỂỄ",   "óòọỏõôốồộổỗơớờợởỡ",   "ÓÒỌỎÕÔỐỒỘỔỖƠỚỜỢỞỠ",   "úùụủũưứừựửữ",   "ÚÙỤỦŨƯỨỪỰỬỮ",   "íìịỉĩ",   "ÍÌỊỈĨ",   "đ",   "Đ",   "ýỳỵỷỹ",   "ÝỲỴỶỸ"  }; 

in project, cannot save sql clr c# class unicode format. after saving file, show below though have used function thousands of times without problem in normal projects (web, form...)

   private static readonly string[] vietnamesesigns = new string[]  { "aaeeoouuiiddyy",   "áà??ãâ???????????",   "ÁÀ??ÃÂ???????????",   "éè???ê?????",   "ÉÈ???Ê?????",   "óò??õô???????????",   "ÓÒ??ÕÔ???????????",   "úù?????????",   "ÚÙ?????????",   "íì???",   "ÍÌ???",   "?",   "?",   "ý????",   "Ý????"  }; 

i have no idea what's going on now. please help.

thanks all.


Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -