Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jonasbn (1153)

jonasbn
  reversethis-{gro.napc} {ta} {nbsanoj}
http://e-diot.dk/
AOL IM: BJonasN (Add Buddy, Send Message)

Perl Programmer located in Copenhagen, Denmark. Active member of Copenhagen Perl Mongers.

Author of:

  • Business::DK::CPR
  • Business::DK::CVR
  • Business::DK::PO
  • Business::OnlinePayment::CashCow
  • Date::Holidays
  • Date::Holidays::Abstract
  • Date::Holidays::Super
  • Date::Pregnancy
  • Games::Bingo
  • Games::Bingo::Bot
  • Games::Bingo::Print
  • Module::Info::File
  • Module::Template::Setup
  • Test::Timer

and maintainer of:

  • Tie::Tools
  • XML::Conf
  • Workflow

Journal of jonasbn (1153)

Tuesday February 10, 2004
05:55 AM

Unrecognized character \xCA

[ #17322 ]

I have lived with this issue for a VERY long time, now it is time to do something about it.

When I program Perl and I type || in BBEdit I get the following error when compiling:

Unrecognized character \xCA

If somebody knows what the problem is, I am very interested

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Apparently, "\xCA" is a non-breaking space on the Mac — the same as "\xA0" on Windows and in ISO-Latin-1, and " " in HTML.

    So why wouyld BBEdit replace a normal space with a non-breaking space? It doesn't quite add up.

    • It seems the alt + space combination inserts this character, so writing code like:

      open(FIN "<$file") || die "Unable ...

      Triggers this often, resulting in compilation error :-/
  • Alt-Gr (German Layout) + 7 is the vertical line. Alt-Gr + Space is that character. ||Boom!
    • On my Powerbook with danish keyboard the | is located on i and is activated using it in combination with alt. So it is simply because of speedy typing and unfortunately it does not show up in the editor.

      thanks for the response pin-pointing the problem :)

      Now I will look into a solution/workaround to the problem.
      • use emacs? :-)

        (Or is emacs just a solution still searching for its problem?)

        • Apparantly BBEdit has a flag where you can indicate so you can see 'invisible' characters.

          Invisible characters in a text editor?

          This seems to do the job, the only problem now is that have indicators of tabs and newlines aswell (looks like an old version of Wordperfect).

          But I'll survive