Results 1 to 3 of 3

Thread: Copy/Paste Junk?

  1. #1
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro

    Copy/Paste Junk?

    I'm trying to get a fan-fic section sorted out on a website, but every time people copy/paste their efforts from word it ends up changing things like the ' to ? and generally making a mess..

    Does anyone know a good work around on the server side for correcting this?
    (\__/)
    (='.'=)
    (")_(")

  2. #2
    Pixel Abuser Spunkey's Avatar
    Join Date
    Nov 2003
    Location
    Milton Keynes
    Posts
    1,523
    Thanks
    0
    Thanked
    0 times in 0 posts
    if its only a few characters that change, and its always the same ones you can try a replace(szMyString, "?", "'")to change it back, assuming your using ASP/VBScript. Although this will mean that the ? will never bee seen again, even if it is used properly.

    Word tries to do a lot of unhelpful and ghey ActiveX crap that is of no use to anyone (like when you paste in from IE it will try and format it with html etc)

    You could tell your users to post to notepad or wordpad first then into your site, as notepad is clever/stupid (delete as appropriate) and doesnt do any kind of formatting shenanegans.

    HTH

  3. #3
    Sublime HEXUS.net
    Join Date
    Jul 2003
    Location
    The Void.. Floating
    Posts
    11,819
    Thanks
    213
    Thanked
    233 times in 160 posts
    • Stoo's system
      • Motherboard:
      • Mac Pro
      • CPU:
      • 2*Xeon 5450 @ 2.8GHz, 12MB Cache
      • Memory:
      • 32GB 1600MHz FBDIMM
      • Storage:
      • ~ 2.5TB + 4TB external array
      • Graphics card(s):
      • ATI Radeon HD 4870
      • Case:
      • Mac Pro
      • Operating System:
      • OS X 10.7
      • Monitor(s):
      • 24" Samsung 244T Black
      • Internet:
      • Zen Max Pro
    Nope, we're on a LAMP server so ASP/VBScript is out, and I've mentioned the notepad thing already, but I still got moaned at lol
    I think it's because it's a linux system that the problem is happening anyway, we're parsing the input already to get rid of a lot of the m$ junk, but it seems to have started again, so no doubt M$ have twiddled something else to break compatibility.. *Grr*
    (\__/)
    (='.'=)
    (")_(")

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •