health-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-dev] Fedreration Queue can not show Chinese properly


From: Luis Falcon
Subject: Re: [Health-dev] Fedreration Queue can not show Chinese properly
Date: Wed, 10 Jul 2019 21:10:15 +0100

Hi Tumashu

On Wed, 10 Jul 2019 09:05:57 +0800 (CST)
tumashu <address@hidden> wrote:

> screenshot:
> 
> 
> https://github.com/tumashu/gnuhealth-cn/issues/2
> 
> 
> 
> Maybe we should use json.dump(f, ensure_ascii=False) instead´╝č
> 
> 
> -------------------------
> 
> If ensure_ascii is True (the default), all non-ASCII characters in
> the output are escaped with \uXXXX sequences, and the result is
> astrinstance consisting of ASCII characters only. Ifensure_ascii is
> False, some chunks written to fp may be unicode instances. This
> usually happens because the input contains unicode strings or
> theencoding parameter is used. Unless fp.write() explicitly
> understands unicode(as in codecs.getwriter()) this is likely to cause
> an error. ------------------------------

Thanks for the feedback ! 

Does it actually post it and retrieve it ok from the GH federation HIS ?

I can try and check it with the GH Federation web portal...

If it works ok and is only the representation at the fed queue, then we
can leave it the way it is, otherwise we'll look for a way around

Thanks !
Luis



reply via email to

[Prev in Thread] Current Thread [Next in Thread]