I am Russian and use Windows-1251 encoding as a main encoding. All my rails projects are created using UTF8. So any text
in output window is corrupted because it is expected to be in win-1251 encoding.
Currently I see two ways to resolve this issue:
1. Add "output window encoding" setting at IDE settings.
2. Always keep output window encoding the same as encoding of project it belongs to. I think it is better solution.
does this happen when you use other project types ?
what is correct cat/subcat of this issue ? I can move it there.
also, what is the encoding handling rules/process of the output
reassigning to core/output for evaluation
Currently the only solution for this seems to be modifying netbeans.conf, by adding "-J-Dfile.encoding=UTF-8" to "netbeans_default_options".
However, in my opinion this solution is not satisfactory for 2 reasons:
- most importantly: I don't want to change the default encoding, I just want to change the encoding of the output window
- and it's not user-friendly having to edit config files
*** Bug 164372 has been marked as a duplicate of this bug. ***
Output Window does not encode data, it should be encoded by clients of its API. See bug 201490 comment 2.
This problem has been already solved. Please check bug 201490 and bug 224526, the comments there may contains some useful information.
Can you please describe your use case, or provide steps to reproduce? After which operations can you see incorrectly encoded output?