DataTables server-side processing - filtering issue with iso-8859-1 charset
DataTables server-side processing - filtering issue with iso-8859-1 charset
Hello,
i'm using datatables with server-side processing. JSON file is encoded using ISO-8859-1 and so is the html page. All works ok except filtering - it impossible to search items that contain special characters like german letters ö, ü, ä or ß because search query is encoded using utf-8 instead of ISO-8859-1. Is there a way to encode search parameter using ISO-8859-1?
Regards,
Mike
i'm using datatables with server-side processing. JSON file is encoded using ISO-8859-1 and so is the html page. All works ok except filtering - it impossible to search items that contain special characters like german letters ö, ü, ä or ß because search query is encoded using utf-8 instead of ISO-8859-1. Is there a way to encode search parameter using ISO-8859-1?
Regards,
Mike
This discussion has been closed.
Replies
Allan
GET /json?sEcho=12&sSearch=%FC (other parameters omitted for brevity)
To sum up: the datatable displays fine, but it's impossible to use special characters in search query when ISO-8599-1 encoding is used (everything works fine for utf-8).
Is there a way to force datatables/jquery to encode url parameters using iso-8859-1?
Allan
Allan