Skip to content
This repository has been archived by the owner on Nov 14, 2021. It is now read-only.

Commit

Permalink
Info about encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
Quintus committed Feb 17, 2012
1 parent 9e3624a commit 18e00ec
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/xz.rb
Expand Up @@ -94,6 +94,13 @@ def clear
#The namespace and main module of this library. Each method of this module #The namespace and main module of this library. Each method of this module
#may raise exceptions of class XZ::LZMAError, which is not named in the #may raise exceptions of class XZ::LZMAError, which is not named in the
#methods' documentations anymore. #methods' documentations anymore.
#
#All strings you receive from any method defined in this module
#and the classes defined in it are encoded in BINARY, so you may
#have to call #force_encoding on them to tag them with the correct
#encoding (assuming you _know_ what their correct encoding should be).
#ruby-xz can’t handle this as compiled strings don’t come with encoding
#information.
module XZ module XZ




Expand Down

0 comments on commit 18e00ec

Please sign in to comment.