4 ms·
what is it?
by uwu 10y ago
what is it?
- fny 10y agoLooks like a bug with Cyrillic character highlighting. I'm guessing this is probably an issue with Rogue/Pygments[0][1] since I doubt Github is rolling their own syntax highlighter. [0]: https://github.com/jneen/rouge https://github.com/jneen/rouge [1]: http://rouge.jneen.net/pastes/6nDQ http://rouge.jneen.net/pastes/6nDQ
- antons_ghost 10y ago>>> "params[:sandboх] = true".decode('ascii') Traceback (most recent call last): File "<stdin>", line 1, in <module> UnicodeDecodeError: 'ascii' codec can't decode byte 0xd1 in position 14: ordinal not in range(128)