Hello I have a project table which has a field name in my db which is multi lang so I stored it as json so I can store each lang value
the problem is that the arabic lang is being encoded in this way:
{"ar":"u0627u0644u0645u0634u0631u0648u0639 u0627u0644u0623u0648u0644"}
and im trying to search the project by name in arabic
I tried json endcoding the string before seaching the db didnt work
I tried even to searching in mysql or the string:
also didnt work … any idea?
2
Answers
you must be use {{!! "ar":"…. !!}}
decode the string after getting from database :
then get the arabic data
then again decode the encoded string