• I have a blog and I have lines that I have copy pasted that have ” in them.

    For example:
    echo “selclass qualifier memory;info;wait;infolog” | cstm

    When I copy paste the line from the blog to a terminal session I get this:

    echo ^Óselclass qualifier memory;info;wait;infolog^Ô | cstm

    As you see the ” is turned into a ^Ô

    Then if I have
    awk ‘{ print length(), $0 | “sort -n” }’

    This is what it will paste as
    awk { print length(), $0 | sort -n^T }^R

    Is there a way to fix this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Paste your content into the HTML tag on the WYSIWYG, it’s due to malformed, missing or unsupported character encoding from the WYSIWYG when you paste the formatted data into WordPress.

    Thread Starter rleon

    (@rleon)

    thanks for the prompt response.

    I tried and that didn’t help

    I am trying this on the latest post on:

    http://www.unixtips.net/

    Should I maybe put html tags around it?

    Thread Starter rleon

    (@rleon)

    thanks for the prompt response.

    I tried and that didn’t help

    I am trying this on the latest post on:

    http://www.unixtips.net/

    Should I maybe put html tags around it?

    I also forgot to mention that even if I type it manually I get the same results.

    It seems fine on my machine, I’m running a MacBook Pro, what OS and browser are you rocking?

    Thread Starter rleon

    (@rleon)

    Ok ..

    so .. after some testing .. using the lastest post

    awk ‘{ print length(), $0 | “sort -n” }’

    Using firefox,IE or Crome

    They work fine if I post from the website to a text file:
    awk ‘{ print length(), $0 | “sort -n” }’

    If I past from the website to a terminal window .. i get
    awk { print length(), $0 | sort -n^T }^R

    If I past from the website to a text file to a terminal window . same thing.
    awk { print length(), $0 | sort -n^T }^R

    If I past from the original text file to the terminal window no issues:
    awk ‘{ print length(), $0 | “sort -n” }’

    So it seems that wordpress maybe changing the characters some where?

    Thread Starter rleon

    (@rleon)

    Finally if I post from this post .. to the terminal it also works fine:
    awk ‘{ print length(), $0 | “sort -n” }’

    [ Please do not bump, that’s not permitted here. ]

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘post as simple text ..’ is closed to new replies.