Re: Encoding on saving html file
Dave <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Hi Stephan, I don't find a hint on MultiByteBinaryOrTextStream but I found a help from a thread of mine (from time to time I have some encoding issue :-) ) http://forum.world.st/File-upload-encoding-issue-tp4783446p4783615.html and Sven's reply helps me again, I decoded the document using this method: (GRCodec forEncoding: 'utf-8') decode: html context document stream contents. Anyway if there is a better solution I'll gladly try it Dave Stephan Eggermont wrote > On 17/10/15 15:46, Dave wrote: >> But if you save the text of my previous email to an html file and open >> it, it >> shows "perché" instead of "perché" > > That depends on how you save it. > You probably want to use an UTF8TextConverter somewhere > It is used in MultiByteBinaryOrTextStream class>>on:encoding: > > Stephan > > > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- View this message in context: http://forum.world.st/Encoding-on-saving-html-file-tp4856116p4856229.html Sent from the Seaside General mailing list archive at Nabble.com.