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

Allow escaping of non-printable characters in CSV output/input #125

Merged
merged 2 commits into from
May 4, 2019

Conversation

hgschmie
Copy link

@hgschmie hgschmie commented Apr 1, 2019

This is a proposed solution for #124. It introduces a new Feature, ESCAPE_CONTROL_CHARS_WITH_ESCAPE_CHAR,
which will apply the standard ASCII escapes from JSON to all characters that the CSV generator writes.

If this solution is workable, I will add tests.

This is a proposed solution for FasterXML#124. It introduces a new Feature, `ESCAPE_CONTROL_CHARS_WITH_ESCAPE_CHAR`,
which will apply the standard ASCII escapes from JSON to all characters that the CSV generator writes.

If this solution is workable, I will add tests.
@hgschmie
Copy link
Author

hgschmie commented Apr 1, 2019

The same patch also applies cleanly to the 2.10 code branch.

@hgschmie
Copy link
Author

@cowtowncoder ping? Any chance for you to weigh in / reject here?

@cowtowncoder cowtowncoder added this to the 2.9.9 milestone May 4, 2019
@cowtowncoder cowtowncoder merged commit e85d314 into FasterXML:2.9 May 4, 2019
@cowtowncoder
Copy link
Member

Ok, merged, will be in 2.9.9.

Forgot to ask for a unit test to verify, but that can be added at a later point.

cowtowncoder added a commit that referenced this pull request May 4, 2019
pjankovsky pushed a commit to fivetran/jackson-dataformats-text that referenced this pull request Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants