I am converting English to Punjabi in a JSON format. The model 4o-mini is returning unicode, which is okay, but not encoding a single quote in my text which is causing issues while saving into database.
So far I have tried to encode the json with ignore ascii = True but nothing seems to work.