It's exactly the same. H2 internally uses Unicode, and supports all
character encodings and character sets supported by the virtual
machine you use. See also
http://h2database.com/html/grammar.html#set_collation
http://h2database.com/html/datatypes.html#varchar_type
Regards,
Thomas
--
You received this message because you are subscribed to the Google Groups "H2 Database" group.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
An encoding very similar to UTF-8 is used (it's not UTF-8 exactly
however, as characters outside the "Basic Multilingual Plane" are
stored as surrogate pairs). Basically, ASCII characters 0-127 need 1
byte. It's very similar to the format Java uses (which is also not
exactly UTF-8). See also org.h2.store.Data.writeStringWithoutLength().
Regards,
Thomas