A micro library to provide a very compact encoding of Strings
Strip UTF-8 byte order mark (BOM) from a string
Check if a buffer contains valid UTF-8
TypeScript definitions for utf-8-validate
Create and parse HTTP Content-Type header
zlib port to javascript - fast, modularized, with browser support
Strip UTF-8 byte order mark (BOM) from a Uint8Array
TypeScript definitions for utf8
Encode a URL to a percent-encoded form, excluding already-encoded sequences
Various helper utilities for working with buffers and binary data
Character encoding auto-detection in JavaScript (port of python's chardet)
Strip UTF-8 byte order mark (BOM) from a stream
Parse HTTP Content-Type header according to RFC 7231
Compares JS strings using UTF-8 bitwise semantics
Text Decoder
UTF-8 only polyfill for the Encoding Living Standard's API.
Fast polyfill for TextEncoder and TextDecoder, only supports utf-8
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
Optimise inline SVG with PostCSS.
Converts text to and from UTF-7 (RFC 2152 and IMAP)
Percent-encode characters in strings matching a regular expression
Text recoding in JavaScript for fun and profit!
Web Assembly streaming MPEG Layer I/II/III decoder
DJB2a non-cryptographic hash function
Short text compression algorithm for utf-8 (optimized for Chinese , developed based on rust programming language). 面向utf-8的短文本压缩算法(为中文压缩优化,基于rust编程语言开发)。
Core components for parsing/writing UTF tables in CRIWARE CPK files
A UTF code viewer
An ASCII art themed dungeon crawler with roguelike elements written in Rust.
A crate that supplies a utf8 encoded char
A UTF8 / Unicode Converter for no_std
jaro_winkler is an implementation of Jaro-Winkler \ distance algorithm which is written in C extension and will fallback to pure \ Ruby version in platforms other than MRI/KRI like JRuby or Rubinius. Both of \ C and Ruby implementation support any kind of string encoding, such as \ UTF-8, EUC-JP, Big5, etc.
This is the MySQL API module for Ruby. It provides the same functions for Ruby programs that the MySQL C API provides for C programs. Some small mods by http://github.com/lsegal/mysql-ruby for ruby 1.9.1 support for utf-8
Bestliner is a Ruby wrapper around bestline, a C library for interactive pseudoteletypewriter command sessions using ANSI Standard X3.64 control sequences. Bestliner supports Emacs-style editing shortcuts, a searchable history, completion and hint support via callbacks and UTF-8 editing.
Compresses Javascript & CSS files on the terminal. Usage: wbdv_packer [options] [filename] -c, --charset [CHARSET] Sets the output charset (CSS & JS). Default: utf-8 -l, --line-break [NUMBER] Sets the max output line width (CSS & JS). Default: 1337 -o, --optimize Sets code optimization on compress (JS Only). Default: true -p, --preserve Sets preserved semi-colons (JS Only). Default: true -s, --short Sets shortened local variables (JS Only). Default: true -v, --version Print version -h, --help Display this screen
Compresses Javascript & CSS files on the command line interface with yui-compressor. Run `cli-yui-compressor` or its shorthand `cyc`. Usage: cli-yui-compressor | cyc [options] [filename] -c, --charset [CHARSET] Sets the output charset (CSS & JS). Default: utf-8 -l, --line-break [NUMBER] Sets the max output line width (CSS & JS). Default: 1337 -o, --optimize Sets code optimization on compress (JS Only). Default: true -p, --preserve Sets preserved semi-colons (JS Only). Default: true -s, --short Sets shortened local variables (JS Only). Default: true -v, --version Print version -h, --help Display this screen A
= id3lib-ruby id3lib-ruby provides a Ruby interface to the id3lib C++ library for easily editing ID3 tags (v1 and v2) of MP3 audio files. The class documentation starts at ID3Lib::Tag. == Features * Read and write ID3v1 and ID3v2 tags * Simple interface for adding, changing and removing frames * Quick access to common text frames like title and performer * Custom data frames like attached picture (APIC) * Pretty complete coverage of id3lib's features * UTF-16 support (warning: id3lib writes broken UTF-16 frames) * Windows binary gem available The CHANGES file contains a list of changes between versions. == Installation See INSTALL. == Online Information The home of id3lib-ruby is http://id3lib-ruby.rubyforge.org == Usage require 'rubygems' require 'id3lib' # Load a tag from a file tag = ID3Lib::Tag.new('talk.mp3') # Get and set text frames with convenience methods tag.title #=> "Talk" tag.album = 'X&Y' tag.track = '5/13' # Tag is a subclass of Array and each frame is a Hash tag[0] #=> { :id => :TPE1, :textenc => 0, :text => "Coldplay" } # Get the number of frames tag.length #=> 7 # Remove all comment frames tag.delete_if{ |frame| frame[:id] == :COMM } # Get info about APIC frame to see which fields are allowed ID3Lib::Info.frame(:APIC) #=> [ 2, :APIC, "Attached picture", #=> [:textenc, :mimetype, :picturetype, :description, :data] ] # Add an attached picture frame cover = { :id => :APIC, :mimetype => 'image/jpeg', :picturetype => 3, :description => 'A pretty picture', :textenc => 0, :data => File.read('cover.jpg') } tag << cover # Last but not least, apply changes tag.update! == Licence This library has Ruby's licence: http://www.ruby-lang.org/en/LICENSE.txt == Author Robin Stocker <robinstocker at rubyforge.org>
= The Owasp ESAPI Ruby project == Introduction The Owasp ESAPI Ruby is a port for outstanding release quality Owasp ESAPI project to the Ruby programming language. Ruby is now a famous programming language due to its Rails framework developed by David Heinemeier Hansson (http://twitter.com/dhh) that simplify the creation of a web application using a convention over configuration approach to simplify programmers' life. Despite Rails diffusion, there are a lot of Web framework out there that allow people to write web apps in Ruby (merb, sinatra, vintage) [http://accidentaltechnologist.com/ruby/10-alternative-ruby-web-frameworks/]. Owasp Esapi Ruby wants to bring all Ruby deevelopers a gem full of Secure APIs they can use whatever the framework they choose. == Why supporting only Ruby 1.9.2 and beyond? The OWASP Esapi Ruby gem will require at least version 1.9.2 of Ruby interpreter to make sure to have full advantages of the newer language APIs. In particular version 1.9.2 introduces radical changes in the following areas: === Regular expression engine (to be written) === UTF-8 support Unicode support in 1.9.2 is much better and provides better support for character set encoding/decoding * All strings have an additional chunk of info attached: Encoding * String#size takes encoding into account – returns the encoded character count * You can get the raw datasize * Indexed access is by encoded data – characters, not bytes * You can change encoding by force but it doesn’t convert the data === Dates and Time From "Programming Ruby 1.9" "As of Ruby 1.9.2, the range of dates that can be represented is no longer limited by the under- lying operating system’s time representation (so there’s no year 2038 problem). As a result, the year passed to the methods gm, local, new, mktime, and utc must now include the century—a year of 90 now represents 90 and not 1990." == Roadmap Please see ChangeLog file. == Note on Patches/Pull Requests * Fork the project. * Create documentation with rake yard task * Make your feature addition or bug fix. * Add tests for it. This is important so I don't break it in a future version unintentionally. * Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull) * Send me a pull request. Bonus points for topic branches. == Copyright Copyright (c) 2011 the OWASP Foundation. See LICENSE for details.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.