{"issue":{"milestone":{"title":"0.10.6","created_at":"2011-09-24T21:21:52Z","creator":{"login":"nesquena","id":6511,"url":"https://api.github.com/users/nesquena","avatar_url":"https://secure.gravatar.com/avatar/e8a84c62048ccb7ee08d4fdeb6417533?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e8a84c62048ccb7ee08d4fdeb6417533"},"open_issues":19,"state":"open","due_on":"2011-10-31T07:00:00Z","closed_issues":12,"description":"The release of Padrino after 0.10.5","number":22,"url":"https://api.github.com/repos/padrino/padrino-framework/milestones/22"},"user":{"login":"modeverv","id":115578,"url":"https://api.github.com/users/modeverv","avatar_url":"https://secure.gravatar.com/avatar/33352cddeb0e6e1e6a63458cf2bc25be?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"33352cddeb0e6e1e6a63458cf2bc25be"},"title":"fix file cache fail \"invalid byte sequence in UTF-8\"","created_at":"2011-11-18T08:57:00Z","labels":[],"updated_at":"2011-12-17T06:01:15Z","state":"open","id":2278112,"pull_request":{"patch_url":"https://github.com/padrino/padrino-framework/pull/724.patch","html_url":"https://github.com/padrino/padrino-framework/pull/724","diff_url":"https://github.com/padrino/padrino-framework/pull/724.diff"},"html_url":"https://github.com/padrino/padrino-framework/issues/724","closed_at":null,"body":"when I use Padrino::Cache with Japanese text,\r\nI faced \"invalid byte sequence in UTF-8\".\r\nI append force encoding to avoid this error.\r\nplease check this change.","number":724,"url":"https://api.github.com/repos/padrino/padrino-framework/issues/724","comments":3,"assignee":null},"comment":{"user":{"login":"modeverv","id":115578,"url":"https://api.github.com/users/modeverv","avatar_url":"https://secure.gravatar.com/avatar/33352cddeb0e6e1e6a63458cf2bc25be?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"33352cddeb0e6e1e6a63458cf2bc25be"},"created_at":"2011-12-17T06:01:15Z","updated_at":"2011-12-17T06:01:15Z","id":3187991,"body":"1) What is your Encoding.default_external ? padrino console -> puts Encoding.default_external\r\nin main.rb file\r\n<pre>\r\n  get \"/\" do\r\n    # some code here\r\n    @echo = Encoding.default_external\r\n    erb :index\r\n  end\r\n</pre>\r\nin index.erb\r\n<pre>\r\n   Encoding.default_external is &lt;%= @echo %&gt;\r\n</pre>\r\n![Encoding.default_external](https://lh3.googleusercontent.com/-Chh3tmnqSQg/TuwrUwCgkTI/AAAAAAAADVE/jo2Vcx3-4dk/s800/screenshot%25EF%25BC%25882011-12-17%2B14.17.43%25EF%25BC%2589.png)\r\n\r\n2) The cache file is written correctly in UTF8 ?\r\nSorry,I don't know right way that cache file's encoding,\r\nbut open cache file with Emacs with utf8 coding is not scrambled.\r\n1.opening with emacs => can't determine encoding.\r\n![scrambled](https://lh6.googleusercontent.com/-wsJBAaNuhiw/TuwrXti1g5I/AAAAAAAADVM/aDNlUsS3AKo/s621/screenshot%25EF%25BC%25882011-12-17%2B14.34.24%25EF%25BC%2589.png)\r\n2.opening with emacs utf8encoding => is not scrambled.\r\n![set coding in emacs](https://lh4.googleusercontent.com/-7l_QnkKvBVo/TuwrZ6cTy6I/AAAAAAAADVU/3pzbPVBKKEc/s657/screenshot%25EF%25BC%25882011-12-17%2B14.34.41%25EF%25BC%2589.png)\r\nok.\r\n![ok!!!!](https://lh4.googleusercontent.com/-ExMdDRXkWqM/TuwraUZKSHI/AAAAAAAADVY/-apbR52Oyak/s654/screenshot%25EF%25BC%25882011-12-17%2B14.35.05%25EF%25BC%2589.png)\r\n\r\n\r\nthis is enough answer?","url":"https://api.github.com/repos/padrino/padrino-framework/issues/comments/3187991"},"action":"created"}