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

Converting special characters in pocsag logger #2211

Closed
johanios opened this issue Jul 14, 2024 · 2 comments · Fixed by #2276
Closed

Converting special characters in pocsag logger #2211

johanios opened this issue Jul 14, 2024 · 2 comments · Fixed by #2276
Assignees

Comments

@johanios
Copy link

Hi!

I'm using the pocsag modulator to log messages to a csv file. Sometimes the alpha message contains characters like ' " ' which messes upp the structure of the csv file. Same thing with commas ','.

Is it possible to somehow convert those characters to some other before writing to the log file?

Thanks!

@srcejon
Copy link
Collaborator

srcejon commented Jul 21, 2024

It seems , should be in "" and " should be in "" escaped with " (i.e. "he said ""hi""")

@srcejon srcejon self-assigned this Jul 21, 2024
@srcejon
Copy link
Collaborator

srcejon commented Oct 11, 2024

Have added a patch that should escape double quotes.

The message field is also output with surrounding quotes, so , in message shouldn't cause a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants