Thanks, David, \u00B0 did it. Peter
On Dec 7, 7:35 pm, David Pollak <feeder.of.the.be...@gmail.com> wrote: > Peter, > > My understanding is that JavaScript strings must be ASCII or escaped to > Unicode: \u4455 (or whatever the unicode character is for degrees). > > Thanks, > > David > > On Mon, Dec 7, 2009 at 7:14 PM, Peter Robinett <pe...@bubblefoundry.com>wrote: > > > > > Hi all, > > > I just discovered that XHTML pages do not support all the character > > entity references HTML does[1]. In my case that means switching from > > ° to ° in my Javascript file. This is fine except that I am now > > getting a garbled character. My file is encoded in UTF-8 and Maven is > > using UTF-8[2], so I'm stumped about why it is happening. I could just > > switch to an HTML doctype but I'm interested in understanding > > everything that's happening here. Any suggestions? > > > Peter > > > [1]: > >http://www.bubblefoundry.com/blog/2009/12/html-and-xml-character-enco... > > [2]: > >http://maven.apache.org/plugins/maven-resources-plugin/examples/encod... > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Lift" group. > > To post to this group, send email to lift...@googlegroups.com. > > To unsubscribe from this group, send email to > > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > > . > > For more options, visit this group at > >http://groups.google.com/group/liftweb?hl=en. > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Beginning Scalahttp://www.apress.com/book/view/1430219890 > Follow me:http://twitter.com/dpp > Surf the harmonics -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@googlegroups.com. To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.