Issue when saving path with char "\201" into database #38110
Unanswered
evertramos
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there!
I have the following files (fresh Laravel 8.x):
And this gives me this error:
So I get and error due to "\201" char in my string... I noticed that is not a really Laravel issue (or is it?) because I tested in pure PHP and it also get trouble to read the \201, because it interprets as ASCII, so, a way around was to use 'b', as my friend @brownst helped me out, so the following line would work:
But this is a work around for a very specific work... would someone comment this and let me know if Laravel has any treatment for that somehow?
I would really appreciate any comments.
Beta Was this translation helpful? Give feedback.
All reactions