What Corporate America Can't Build: A Sentence
nytimes.com
nytimes.com
meta http-equiv="content-type" content="text/html; charset=UTF-8"
within the head on every page, but this had no effect. Would appreciate it if anyone could tell me what I'm doing wrong.
My guess: you also need to tell the browser to send form data as utf8. Perhaps by specifying "accept-charset" as UTF-8 in each form tag.
Since you are sanitizing the input string, I still recommed translating to native mzScheme/Arc unicode, doing the transformations in that format, then retranslating back to utf-8 for display. The call to get a canonical string from utf-8 is:
(bytes->string/utf-8 input-txt)
When you try to encode that bogus thing in utf-8 you get \xc3\x99, which in latin-1 is A-with-circumflex followed by the TM sign, while in utf-8 it's still nonsense.
What you need to do is decode your input from the remote system encoding into your native unicode representation, before encoding it in utf-8 to display it.
The first problem is detecting the native encoding at the other end. I don't know how to do this, but if you assume latin-1 to begin with, it will still be an improvement over the current situation.
Once you know/guess the encoding, you normalize it with something like this (in mzScheme):
(bytes->string/latin-1 remote-txt)
Then you convert to utf-8 like this (you are already doing this):
(string->bytes/utf-8 stored-string)
Finally, remember to put back the meta tag.
HTH.
"Should I boost the power on the thrombo?
"NO!!!! If you turn it up to eleven, you'll overheat the motors, and IT MIGHT EXPLODE!!""
Well, yes. If the consequences are fatal, an all-caps message is a good idea. But intensifiers only stay intense if they're used rarely -- if you're always fucking swearing, for example, you can't use swearing to express anyfuckingthing.
I worked with a guy who used "fuck", and assorted variations, the way people use "um", "like", and "you know".
I had a hard time following what he was saying because I was so distracted with wondering how many times he would use that word.
"hI KATHY i am sending u the assignmnet again," one student wrote to her recently. "i had sent you the assignment earlier but i didnt get a respond. If u get this assgnment could u please respond . thanking u for ur cooperation."
__Most of her students are midcareer professionals in high-tech industries,__ Ms. Keenan said.
Writing well is easy. Just use shorter sentences that don't "take advantage" of English's more esoteric features. You don't really lose that much, if anything. Plus, it forces you to think (and write) more lucidly.
Writing skills are usually a must though.