Unicode
Fun with Unicode
You can place a unicode character at the front of HTML, and, if you’re running an intelligent browser, it will
‮present everything as if mirrored. present everything as if mirrored.
Rails and Unicode and PostGres DB (Oh My!): Understanding how UTF-8 works
Examine the Unicode standard’s code page collection for “Latin small letter a with macron”.
Nets U0100.pdf
“Latin small letter a with macron” appears on chart as 0101. This is a hexidemial number which points to U+0101 as its code point. Converting 0101 to decimal gets you 257, this is the same as the HTML entity code. Thus one can enter either ā or ā and get the right glyph [ā|ā]
Put ā character into a view via Rails that is back-ended by a PostGres database.
Using script/console, write the collection of models that contain this accented character to a YAML file.