Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send non-breaking space (UTF8 00A0) through Json #484

Open
scand1sk opened this issue Jun 30, 2020 · 2 comments
Open

Send non-breaking space (UTF8 00A0) through Json #484

scand1sk opened this issue Jun 30, 2020 · 2 comments
Labels

Comments

@scand1sk
Copy link

Play Version

2.8.2

API

Scala

Operating System

Linux vion-precision 5.7.0-1-amd64 playframework/playframework#1 SMP Debian 5.7.6-1 (2020-06-24) x86_64 GNU/Linux

JDK

openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-8u252-b09-1-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)

Expected Behavior

The action Ok(Json.obj("foo" -> "foo\u00a0bar")) should give the HTTP answer containing the given Json with a non-breaking space.

Actual Behavior

I do not know whether this is a bug or a feature, but the non-breaking space is converted to a standard space.

@ignasi35
Copy link
Member

Hi @scand1sk, is this a playframewwork issue or is it specific to play-json?

If the later, I can transfer ths issue to playframework/play-json.

@scand1sk
Copy link
Author

scand1sk commented Jul 1, 2020

Yep, it is probably specific to play-json.

@raboof raboof transferred this issue from playframework/playframework Jul 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants