-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Windows: Coala replaces some special caracters to unkown character #1238
Comments
Seems to be an internal encoding issue somewhere. cmd uses a special encoding format (something with If you need to work with coala, try to use Powershell, I believe it uses unicode as default^^ I'll investigate this, but I have not that much time now so this could take a while^^ |
This is not a usability issue, it's a bug in coala. We shouldn't destroy his data like this. @Makman2 are we even sure this doesn't happen on linux? Scheduling importance to high since this is connected to actual data loss. @TimSo94 are you free to share the original file where this occurred with us? |
Yes, it happend in 2 files. |
@TimSo94 we'll try to look into this soon. I hope we can get to fix this till next week. |
@TimSo94 could you also provide the
|
Mischa: you could just introduce an error and see if this occurs for now.
|
Introducing an error (in this case trailing whitespaces) did nothing. |
Currently I have problems reproducing this on windows since coala doesn't take up the files there... |
Confirmed on Windows! Since this error only happened after apply, I believe @TimSo94 you have a setting like |
Also this doesn't come from the |
I only have the "Standard" Settings, here: |
@Makman2 he applied it manually which does the same thing I guess, makes no difference |
@AbdealiJK can you look into this one? We've had another occurrence too:
|
That one is rather #1527 . |
I do not have a windows machine to test - and hence it'd be difficult for me to do this |
maybe this can be solved with #1541 (comment) , @AbdealiJK can you try reproducing this and solving it? |
I am able to reproduce the. I opened the files in a hex editor and noticed 4 chars were removed when coala wrote back to it. The symbol ° is B0 in the file after coala ran on it. ALSO - This happens in git bash too. (Im not sure if it's windows specific anymore) |
Changing the writing of the file to |
@TimSo94 is the bug solved for you? |
Yes, now it works fine. Thanks! :) |
When I run coala, it replaces some special characters like this:
![coala1](https://cloud.githubusercontent.com/assets/15891199/12530119/e4356bc6-c1d3-11e5-8253-d4b0cc4cab71.png)
When I want to start it a second time, I get these error messages, because it can't handle with the ?-Character:
![coala2](https://cloud.githubusercontent.com/assets/15891199/12530120/eb287504-c1d3-11e5-8134-552705ab9023.png)
The text was updated successfully, but these errors were encountered: