Skip to content
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 Vistaで日本語が投稿できないような #64

Open
inoue64 opened this issue Nov 23, 2014 · 0 comments
Open

Windows Vistaで日本語が投稿できないような #64

inoue64 opened this issue Nov 23, 2014 · 0 comments
Labels

Comments

@inoue64
Copy link

inoue64 commented Nov 23, 2014

他のWindowsユーザーもそうなのかな?
Windows-31JかUTF-8の日本語コード処理あたりかな

tw --user=inoue6411a テスト
C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/client/helper.rb:5:in split': incompatible encoding regexp match (UTF-8 regexp with Windows-31J string) (Encoding::CompatibilityError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/client/helper.rb:5:inchar_length'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/client/helper.rb:10:in char_length_with_t_co' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:141:inrun'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/bin/tw:9:in <top (required)>' from C:/Ruby193/bin/tw:23:inload'
from C:/Ruby193/bin/tw:23:in `

'

set RUBYOPT=-EUTF-8 として
C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:14:in =~': invalid byte sequence in UTF-8 (ArgumentError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:14:inblock in parse_style_equal'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:13:in each' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:13:ineach_with_index'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:13:in parse_style_equal' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/parser.rb:103:inparse'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/main.rb:8:in parse' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:44:inrun'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/bin/tw:9:in <top (required)>' from C:/Ruby193/bin/tw:23:inload'
from C:/Ruby193/bin/tw:23:in `

'

set LANG=ja_JP.UTF-8 として
C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:14:in =~': invalid byte sequence in UTF-8 (ArgumentError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:14:inblock in parse_style_equal'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:13:in each' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:13:ineach_with_index'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/styles/equal.rb:13:in parse_style_equal' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/parser.rb:103:inparse'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/args_parser-0.2.0/lib/args_parser/main.rb:8:in parse' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:44:inrun'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/bin/tw:9:in <top (required)>' from C:/Ruby193/bin/tw:23:inload'
from C:/Ruby193/bin/tw:23:in `

'

echo テスト|tw --user=inoue6411a --pipe
C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/cmds.rb:126:in split': incompatible encoding regexp match (UTF-8 regexp with Windows-31J string) (Encoding::CompatibilityError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/cmds.rb:126:inblock in regist_cmds'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:119:in call' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:119:inblock in run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:117:in each' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:117:inrun'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/bin/tw:9:in <top (required)>' from C:/Ruby193/bin/tw:23:inload'
from C:/Ruby193/bin/tw:23:in `

'

set RUBYOPT=-EUTF-8 として
C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/cmds.rb:126:in split': invalid byte sequence in UTF-8 (ArgumentError) from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/cmds.rb:126:inblock in regist_cmds'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:119:in call' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:119:inblock in run'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:117:in each' from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/lib/tw/app/main.rb:117:inrun'
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/tw-1.0.9/bin/tw:9:in <top (required)>' from C:/Ruby193/bin/tw:23:inload'
from C:/Ruby193/bin/tw:23:in `

'

@shokai shokai added the windows label Jan 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants