Menu

backslash character being converted

2008-09-11
2012-11-13
  • captain wiggles

    captain wiggles - 2008-09-11

    Hey I just updated to npp 5.0.3 and liking some of the new features, howevr when i type the \ character it gets converted into a W with a strikethrough, which is slightly confusing. Anybody have any idea why this is, and how I can disable it?

    Wiggles

     
    • captain wiggles

      captain wiggles - 2008-09-11

      Cheers, changing my font fixed the issue, no idea why the default font was dotum and why that had \ mapped to the won symbol on my machine :\ ah well.

      Thanks again.

      Wiggles

       
    • OsakaWebbie

      OsakaWebbie - 2008-09-11

      I suspect I know what it is, if that's any help.  The same ASCII code is displayed as a backslash, a yen sign, or a won sign (which is probably what you saw) depending on the locale of the font being used to display it.  I see that confusion on a regular basis, because I live in Japan, use a computer with Japanese Windows, and use software and websites that use a variety of character sets and fonts.  You can goggle and find lots of pages about the issue - here is just one:
      http://blogs.msdn.com/michkap/archive/2005/09/17/469941.aspx

      However, I don't know why you're suddenly now getting a won sign for the first time.  Interestingly enough, although my copy of N++ 5.0.3 is installed on Japanese Windows, when I type a backslash, I get a backslash.  Go figure!  Perhaps someone connected with the development of N++ knows how it decides what font to use, and whether it can be configured.