Fixed encoding problem in frame example.