You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Escaping characters in loaded script from console #843
@lvca I thought about replacing in the loaded file, before passing it into the BufferedReader, to replace \\ with \\\\. AFAIK This seems only possible by converting the File instance to a string, which does not make sense if a BufferedReader is to be used. I don't have enough Java knowledge to fix this, sorry.
Activity
gramian commentedon Feb 8, 2023
@lvca I thought about replacing in the loaded file, before passing it into the BufferedReader, to replace
\\with\\\\. AFAIK This seems only possible by converting the File instance to a string, which does not make sense if a BufferedReader is to be used. I don't have enough Java knowledge to fix this, sorry.lvca commentedon Feb 8, 2023
Reproduced with a new test case:
lvca commentedon Feb 8, 2023
New test case for this:
fix: console, fixed escape of backslash when read form file
lvca commentedon Feb 8, 2023
Fixed.
gramian commentedon Feb 8, 2023
My test works too now. Cool
chore(deps): bump actions/setup-python from 5.6.0 to 6.0.0 [skip ci]
fix: console, fixed escape of backslash when read form file
chore(deps): bump actions/setup-python from 5.6.0 to 6.0.0 [skip ci]