Like this:

That actually say "and it’s a minor"

But it appears as "and itweirdboxthings a minor"

UTF-8 switch encoding

word documents encode different than web encodes

so u cant directly copy and paste them

oh shit, that’s like what happens if someone types something in MSWord and then pastes it into WP. Like the smartquotes or smart apostrophes or whatever they’re called, right?

coda has a nifty "encode entities" function built in that will encode all of that for you

how come sometimes with wordpress themes if I have an apostrophe in the title it places a before the apostrophe?

That happens randomly for me, too.

if you figure it out let me know. I’ve had it happen a few times

escape characters, you’re inserting data without sanitizing it

I use the WebFrog widget to prevent it.

UTF-8 switch encoding

word documents encode different than web encodes

so u cant directly copy and paste them

werrd

how come sometimes with wordpress themes if I have an apostrophe in the title it places a before the apostrophe?

Because you can say ‘quote drop table

That shouldn’t make a difference on the interface. If a page is being rendered with all apostrophes being preceded by backslashes, then the developer did something wrong. That’s not the proper way to escape quotes in HTML output.

.

Regretfully though, it’s all too common. A majority of WordPress themes and plugins i’ve come across do it wrong. They sanitize on input by escaping the chars, then output it without reversing it.

Escape character for quote in SQL is double quotes.

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2012 Tag ORDA - Webmaster Lab Suffusion theme by Sayontan Sinha