I have the following string in french languages which contains single quotes between the characters and words. This message I want to show in alert.
string Mlocal = "Ce porduit n'a pas encore été livré.";
TempData["msg_Vide"] = "<script>alert('" + Mlocal + "');</script>";
the alert not showing
i use escape "\'
" and "‚
" and "‚
" and "'
" but not working
passing string value is ok, but passing alert message with the special characters no ok