utf 8 - special character breaking my json -


in application creating, user entered name saved database. name contained letter e accent on it.

when app retrieved value , output using json, json invalid.

how can avoid this?

i've solved similar problem using php's utf8_encode() function. depends on environment.

you should checked encoding in database , encoding app producing. make sure translate encodings if differ.

it helpful further specify system.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -