Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.comp.os.windows-10    |    Steaming pile of horseshit Windows 10    |    197,590 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 196,161 of 197,590    |
|    Marian to All    |
|    Tutorial: Notepad++ shortcuts.xml macro     |
|    11 Dec 25 09:42:48    |
   
   XPost: alt.comp.os.windows-11, alt.comp.microsoft.windows   
   From: marianjones@helpfulpeople.com   
      
   Tutorial:   
   Notepad++ shortcuts.xml macro converts unicode to the 95-keyboard ASCII   
   characters   
      
   Below is a shortcuts.xml that builds a macro to convert any character that   
   is in a copy-and-pasted excerpt into one of the 95 QWERTY keyboard 7-bit   
   ASCII characters.   
      
   The use model is simple:   
    a. Edit or replace your current shortcuts.xml with this shortcuts.xml   
    b. Paste the text to be converted into Notepad++   
    c. Press Control+A Control+B to convert the Unicode to 7-bit ASCII   
      
   A typical sequence is:   
    ctrl+x (copies text snippet from a news article containing Unicode)   
    Win+R > n (starts notepad using the registry App Paths key)   
    ctrl+v (pastes the text into Notepad++)   
    ctrl+a (selects it all, if not already all selected)   
    ctrl+b (runs the macro which converts unicode to ascii)   
    ctrl+x (cuts it all out of the Notepadd++ session)   
    ctrl+v (pastes it back into where you needed it in gVim)   
      
   Only the most common unicode characters are in this conversion xml such as   
    Convert (') apostrophe instead of curly apostrophe (U+2018 U+2019)   
    Convert (" straight doublequote instead of curly doublequote (U+201C U+201D)   
    Convert (-) hyphen-minus instead of en dash or em dash (U+2013 U+2014)   
    Convert (...) three periods instead of ellipsis character (U+2026)   
    Convert (space) normal space instead of non-breaking space (U+00A0)   
    Convert (*) asterisk or ( - ) hyphen instead of typographic bullet (U+2022)   
    Convert text "degrees" instead of degree symbol (U+00B0)   
    Convert (>) greater-than sign instead of [RIGHT ARROW U+2192]   
    Convert (<) less-than sign instead of [LEFT ARROW U+2190]   
    Convert text "(TM)" instead of trademark symbol (U+2122)   
    Convert text "(R)" instead of registered mark symbol (U+00AE)   
    Convert text "(C)" instead of copyright symbol (U+00A9)   
    Convert CRLF (U+000D U+000A) Windows-style line endings instead of LF-only   
    Convert (U+000A) Unix-style line endings when preparing code/text for Windows   
   gVim.   
      
   If any are missing that are common, please add the conversion code.   
   (This is my actual copy - as it has been edited umpteen times over time;   
   but I'll post a followup cleanup version which should be easier to parse.)   
      
       
       
   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca