home bbs files messages ]

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,546 of 197,590   
   Herbert Kleebauer to Marian   
   Re: Tutorial: Notepad++ shortcuts.xml ma   
   31 Dec 25 13:21:16   
   
   XPost: alt.comp.os.windows-11, alt.comp.microsoft.windows   
   From: klee@unibwm.de   
      
   On 12/31/2025 9:33 AM, Marian wrote:   
      
   > This line has a sneaky Unicode dash � right here.   
   > This line has curly quotes �like these�.   
   > This line has a non-breaking space between words.   
      
   In Thunderbird this didn't arrive as valid uTF-8 code.   
      
   "dash � right" in hex:   
      
   64 61 73 68 │ 20 FB 20 72 │ 69 67 68 74   
      
   FB is the starting byte of a 4 byte utf-8 code, but the   
   3 remaining bytes are missing.   
      
      
   > c:\> type unicode2ascii.bat   
   > @echo off   
   > :: unicode2ascii.bat   
   > :: This batch file runs a PowerShell script that removes all non-ASCII   
   > :: characters from unicode.txt and writes the cleaned output to ascii.txt.   
   > powershell -NoProfile -ExecutionPolicy Bypass -File unicode2ascii.ps1   
      
   Wouldn't it be simpler to open the file in Notepad and save it with   
   ANSI encoding instead of UTF-8?   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca