Sha256: 605fd11880baaf940d53d191bf94142d99a6846a907fc119db6c84cd6192b6f0
Contents?: true
Size: 345 Bytes
Versions: 2
Compression:
Stored size: 345 Bytes
Contents
module Faye class WebSocket # http://www.w3.org/International/questions/qa-forms-utf-8.en.php UTF8_MATCH = /^([\x00-\x7F]|[\xC2-\xDF][\x80-\xBF]|\xE0[\xA0-\xBF][\x80-\xBF]|[\xE1-\xEC\xEE\xEF][\x80-\xBF]{2}|\xED[\x80-\x9F][\x80-\xBF]|\xF0[\x90-\xBF][\x80-\xBF]{2}|[\xF1-\xF3][\x80-\xBF]{3}|\xF4[\x80-\x8F][\x80-\xBF]{2})*$/ end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faye-websocket-0.4.7-java | lib/faye/websocket/utf8_match.rb |
faye-websocket-0.4.7 | lib/faye/websocket/utf8_match.rb |