You are absolutely right. You have to insert the data.
Can you also see
"To Change zimbraPrefMailDefaultCharset in ZimbraDesktop2.0" on
Yutaka-Notes - Zimbra :: Wiki
There you can see that directory_attrs table has three attributes entry_id,name,value.
So you just use general SQL(not specific to sqlite3) to insert the data with these attribute.