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

text_of_script missing special characters, converting to question marks when entered into SQL Server DB #404

Closed
bpercy11 opened this issue Mar 27, 2020 · 3 comments

Comments

@bpercy11
Copy link

Consider a script in the runBeforeUp folder that contains a string that holds a special character, like the ohm symbol (Ω). After roundhouse executes this script and upon insertion of the script contents into the the [RoundhousE].[ScriptsRun].[text_of_script] column, the ohm symbol is dropping information (bytes) associated with it and is then being entered as a question mark (?).

This could possibly be due to the text_of_script column being of type text instead of nvarchar. I have not located in the roundhouse src code exactly where this problem could be alleviated just yet.

@erikbra
Copy link
Member

erikbra commented Apr 13, 2020

Thank you for reporting.

A couple of questions:

  1. Which encoding is the text file stored in? UTF-8 or something else?
  2. Which database are you connecting to?
  3. Do you have a simple repro that demonstrates the problem?

@erikbra
Copy link
Member

erikbra commented Jul 2, 2020

@bpercy11 do you have anything more to add to this issue? If not, I will have to close it.

@erikbra
Copy link
Member

erikbra commented Oct 4, 2020

Closing due to lack of response.

@erikbra erikbra closed this as completed Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants