Flowdock
method

u_unpack

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::Multibyte::Chars
u_unpack(string) public

Unpack the string at codepoints boundaries. Raises an EncodingError when the encoding of the string isn’t valid UTF-8.

Example:

  Chars.u_unpack('Café') #=> [67, 97, 102, 233]
Show source
Register or log in to add new notes.