* fixed database encoding issues
* sprintf js library
* index view scratch