Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • The first re.search() doesn't work for me in IDLE or a module. Commented Jun 15, 2010 at 15:30
  • Did you try re.LOCALE instead of UNICODE? I'd install locale-he but am kind of afraid I'd never get it switched back. Off-topic: some say google translate goes too far apt-get install user-he; hebrew-settings becomes apt-get install user-en; english-settings which is impressive, but wrong ;) Commented Jun 15, 2010 at 15:37
  • @Lee, nor does the first for me, although the second does. I mention this as we are probably both in a non-he locale and soooo many things depend upon it. Oddly, it got the paste order correct. Commented Jun 15, 2010 at 15:46
  • Thanks for checking guys. I don't think I have anything set specifically to Hebrew, just to unicode. Idle\Options\Configure IDLE\General\Default Source Encoding is set to UTF-8 and in C:\Python26\Lib\site.py I have encoding = "utf-8" instead of encoding = "ascii". Also make sure you're usign a unicode supporting font such as Courier or Courier New Commented Jun 17, 2010 at 14:07