Charlie, You probably don't have a character encoding specified in your html code. The browser is more than likely using a default character encoding and when you past from your app, it is using a different one (probably Unicode). Make sure your html looks something like this (or whatever standard you want): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitiona... <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Note the meta tag that sets the character encoding. Chris
on 2006-03-21 01:19
on 2006-03-21 03:03
> > <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> > May I ask why you recommend utf-8? Is that Ruby's, MySQL's, Open Office's, or some other default? I thought the web standard if one did not specify anything was charset=iso-8859-1 so generally try to use that - but with mixed success. The main things that mess up my applications are things from Microsoft's character sets like curly quotes.
on 2006-03-21 06:36
The first 256 codepoints of UTF-8 are identical to ISO-8859-1, except for 2 that have special meaning to UTF-8. Some UTF-8 interpreters will recognize when these two are followed by illegal characters and process them as ISO-8859-1.