README.md in unibits-2.4.0 vs README.md in unibits-2.5.0

- old
+ new

@@ -3,23 +3,24 @@ Ruby library and CLI command that visualizes various Unicode and ASCII/single byte encodings in the terminal: - Makes analyzing encodings easier - Helps you with debugging strings - Highlights invalid/special/blank bytes/characters/codepoints -- Supports *UTF-8*, *UTF-16LE*/*UTF-16BE*, *UTF-32LE*/*UTF-32BE*, *ISO-8859-X*, *Windows-125X*, *IBMX*, *CP85X*, *macX*, *TIS-620*/*Windows-874*, *KOI8-R*/*KOI8-U*, 7-Bit *ASCII*, and arbitrary *BINARY* data +- Supports *UTF-8*, *UTF-16LE*/*UTF-16BE*, *UTF-32LE*/*UTF-32BE*, *ISO-8859-X*, *Windows-125X*, *IBMX*, *CP85X*, *macX*, *TIS-620*/*Windows-874*, *KOI8-R*/*KOI8-U*, 7-Bit *ASCII*/*GB1988*, and arbitrary *BINARY* data ## Color Coding Each byte of the given string is highlighted using the following mechanism (characters -> codepoints): - Red for invalid bytes -- Orange for unassigned bytes/characters -- Blue for control characters - Light blue for blanks +- Blue for control characters - Non-control formatting characters in pink - Green for marks (Unicode only) -- Random color for all other characters +- Orange for unassigned codepoints +- Lighter orange for unassigned codepoints which are also ignorable +- Random color for all other codepoints ## Setup Make sure you have Ruby installed and installing gems works properly. Then do: @@ -111,9 +112,10 @@ ## Notes Also see - [Ruby's Encoding class](https://ruby-doc.org/core/Encoding.html) +- [Symbolify gem](https://github.com/janlelis/symbolify) - [Characteristics gem](https://github.com/janlelis/characteristics) - [UTF-8 (Wikipedia)](https://en.wikipedia.org/wiki/UTF-8#Description) - [UTF-16 (Wikipedia)](https://en.wikipedia.org/wiki/UTF-16#Description) - [UTF-32 (Wikipedia)](https://en.wikipedia.org/wiki/UTF-32) - [Difference between BINARY and ASCII](http://idiosyncratic-ruby.com/56-us-ascii-8bit.html)