charley_guillaume
09/02/2021, 9:25 AMmessages.py
file: the format _message function is not making possible this kind of character to be encoded. It works however when I add the '`ensure_ascii=False`' to the json.dumps
.
However, the target i'm using (postgres) is writting the character such as '\u00e9' in my database even with the option mentioned above.
Do you know how I can work that issue?charley_guillaume
09/02/2021, 9:49 AM{"type": "RECORD", "stream": "regions", "record": {"zips": ["4000", "4020", "4030", "4031", "4040", "4050", "4100", "4120", "4130", "4340", "4420", "4430", "4450", "4460", "4600", "4607", "4610", "4620", "4630", "4650", "4670", "4680", "4690", "4870", "4877", "4880", "4890"], "id": 58634, "name": "Li\u00e8ge", "synchronization_date": "2021-09-02 11:48:47.360308"}}
When I add the ensure_ascii=False
, I end up with the value of name
being Liège
. But the target-postgres will keep the value as Li\u00e8ge
and save it as such in the database.visch
09/04/2021, 3:32 PMvisch
09/04/2021, 3:32 PMvisch
09/04/2021, 3:33 PMcharley_guillaume
09/06/2021, 7:18 AMcharley_guillaume
09/07/2021, 7:37 AM