kylejginavan/youtube_it — Issue #35: warning: regexp match /.../n against to UTF-8 string
Author: ciur-eugen
Created: 2011-11-25 10:21:19+00:00
State: open

youtube_it fails when query is an unicode string (for example):

c = YouTubeIt::Client.new
c.videos_by(:query => "спят усталые игрушки")

issues

youtube_it.rb:18: warning: regexp match /.../n against to UTF-8 string
youtube_it.rb:18: warning: regexp match /.../n against to UTF-8 string
youtube_it.rb:18: warning: regexp match /.../n against to UTF-8 string

and returns wrong list of videos (different then one from youtube.com search ).