graphqllib icon indicating copy to clipboard operation
graphqllib copied to clipboard

Write tests involving Unicode strings

Open dittos opened this issue 10 years ago • 5 comments

I'm not confident about Unicode support.

dittos avatar Sep 19 '15 13:09 dittos

I'll give this a shot when I get back to working on this tonight / tomorrow

rawls238 avatar Sep 22 '15 19:09 rawls238

for instance there are str() calls in the wild that are craving to throw UnicodeEncodeError: on python 2.7

mpaolini avatar Sep 23 '15 20:09 mpaolini

in general supporting python 2.7 and python 3.3+ makes unicode handling quite tricky. I suggest using python future library (or six) to handle this consistently here they talk about str() . See also django for a complete example.

mpaolini avatar Sep 23 '15 20:09 mpaolini

going to use six for this

rawls238 avatar Sep 25 '15 04:09 rawls238

#61 implements lots of clean-ups for Unicode Support. But there is more work to be done. I would base your work off of that branch (if it's not merged yet).

jhgg avatar Sep 28 '15 06:09 jhgg