Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. barneyblackburn

    Urgent help need with inserting £ symbol

    This seems to have worked use HTML::Entities; my ($symbols) = $_; $symbols = decode_entities($symbols, "\200-\377"); $_ = $symbols;
  2. barneyblackburn

    Urgent help need with inserting £ symbol

    It just gets saved to a .txt file, and then sent out. Barney
  3. barneyblackburn

    Urgent help need with inserting £ symbol

    Same thing still happens. But I have been playing and discovered its fine if i replace with any ASCII under 127, but 128 and above it inserts this  before the symbol. I have also read: "Note that characters from 128 to 255 (inclusive) are by default internally not encoded as UTF-8 for backward...
  4. barneyblackburn

    Urgent help need with inserting £ symbol

    How would I use ASCII with Perl - I dont know perl at all, I just copied and pasted this find replace script.
  5. barneyblackburn

    Urgent help need with inserting £ symbol

    This is my code I have package TeamSite::rayXML; use strict; sub removeHTML { my ($tags) = $_; $tags =~ s/\<[^\<]+\>//g; $_ = $tags; my ($pound) = $_; $pound =~ s/&pound;/£/g; $_ = $pound; my ($amp) = $_; $amp =~ s/&amp;/&/g; $_ = $amp...
  6. barneyblackburn

    Urgent help need with inserting £ symbol

    Thanks Paul - Just tried editing it in Notepad but still get the same problem. My keyboard is fully set to English (UK), and I am running it locally. Thanks again - Barney
  7. barneyblackburn

    Urgent help need with inserting £ symbol

    I am using Text Pad to edit it. Where do i find a non word processed £ symbol? Thanks - Barney
  8. barneyblackburn

    Urgent help need with inserting £ symbol

    I have some perl code that does a find and replace in an HTML document to strip out the HTML of it. It works really well except when it tries to insert a £ symobl. The code I have is: my ($pound) = $_; $pound =~ s/&pound;/£/g; $_ = $pound; What is does is replace &pound; with...

Part and Inventory Search

Back
Top