Click here to Skip to main content
15,892,480 members

Comments by Member 8442750 (Top 1 by date)

Member 8442750 1-Feb-13 11:13am View    
the process is as follows:
- I am using MVC razor
- in the controller I get the records from a database, build a collection and send it to the view.
- in the view I convert the model to json as follows: Dim TA = Html.Raw(Json.Encode(Model)).
- then I send the data to a javascript that reads this data and displays it on the page.
what is worth noting:
- English characters and numbers are being displayed normally
- Arabic fields display as undefined only.
so my problem is actually with the fields that contain Arabic characters, as it seems javascript cannot determine their type (probably) so it cannot treat them as strings to display.