How control encoding among Sqlite and Gtk in a Ruby app

I migrate from text file (ISO99…)to Sqlite3 table,
after in Gtk components not show good aspect (the vowels with acents
specific)
After migrate from text file (UTF-8)to Sqlite3 table,
and other time Gtk components not show good aspect (the vowels with
acents)

some idea, i may need control the encoding on Sqlite3 database???

Mil L. wrote:

I migrate from text file (ISO99…)to Sqlite3 table,
after in Gtk components not show good aspect (the vowels with acents
specific)
After migrate from text file (UTF-8)to Sqlite3 table,
and other time Gtk components not show good aspect (the vowels with
acents)

some idea, i may need control the encoding on Sqlite3 database???

I already solved this.
This is the way

only add enconding UTF-8 in the database configuration file (yml)

===================
configuration:
adapter: sqlite3
database: mydb.db
enconding: utf8

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs