Tabs encoding + more sqlite methods