2008/11/18 limux <[EMAIL PROTECTED]>: > i use merb + sequel to develope a web app, database is mssql, and code > page is cp936. > so i have to make gb2312 as the default charset. but i don't know how to do > it?
Merb.remove_mime_type(:html) Merb.add_mime_type(:html, :to_html, %w[text/html application/xhtml+xml application/html], :charset => "gb2312") Place it in init file for instance. -- MK --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
