Characters to database