mattn

Results 893 comments of mattn

Thanks your working on this. 3486485 seems to be working fine with respect to the display multi-byte characters, as far as I can see. I'm having problems editing.

In latest commit, displaying/editing multi-byte characters seems to be working well. But sometime does not work. Currently, I don't yet figure out when this occur.

Trailing cell of double-width seems broken. ![screenshot](https://user-images.githubusercontent.com/10111/79303800-bcbbce00-7f2a-11ea-882c-e18e303c8ab4.gif)

Yes, it's possible. but I don't have interesting now about porting to Android.

test.yaml ``` --- テスト: 'コード' ``` ``` C:\temp>yamllint -v yamllint 1.19.0 C:\>temp>yamllint test.yaml Traceback (most recent call last): File "C:\msys64\mingw64\lib\python3.8\runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\msys64\mingw64\lib\python3.8\runpy.py",...

PYTHONIOENCODING=UTF-8 can fix this for stdin ``` C:\temp>yamllint - < test.yaml Traceback (most recent call last): File "C:\msys64\mingw64\lib\python3.8\runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None, File "C:\msys64\mingw64\lib\python3.8\runpy.py", line 85,...

``` C:\temp>python -c "import yaml; yaml.safe_load(open('test.yaml').read());" Traceback (most recent call last): File "", line 1, in UnicodeDecodeError: 'cp932' codec can't decode byte 0x86 in position 6: illegal multibyte sequence ```

I confirmed @rhysd 's code work.

I want to see some 👍 for this since this might be breaking compatibility.