SQLite has no char(n) type, only text. Any trailing spaces in text field are there by design, not by any actions of SQLite.