Skip to content

Commit

Permalink
(multiple) Correct cp1252 encoding in utf-8
Browse files Browse the repository at this point in the history
Used:

```py
import subprocess

grepArguments = []

for i in range(int('0x10ffff', 16)):
    char = chr(i)
    try:
        weirdCharEncoding = char.encode('utf-8').decode('cp1252')
    except:
        continue
    if weirdCharEncoding != char:
        grepArguments += [weirdCharEncoding]

def chunks(lst, n):
    """Yield successive n-sized chunks from lst."""
    for i in range(0, len(lst), n):
        yield lst[i:i + n]

commonCommand = ['grep', '-rI']
argumentsChunks = chunks(grepArguments, 10_000)
for arguments in argumentsChunks:
    command = commonCommand[:]
    for i, weirdCharEncoding in enumerate(arguments):
        command += ['-e', weirdCharEncoding]
    subprocess.run(command).stdout
```

```bash
find -type f -print0 | xargs -0 sed -i 's/–/–/g'
```

Initially found issues with:

```bash
grep -rI 'â'
```
  • Loading branch information
Benjamin-Loison committed Sep 21, 2023
1 parent 9b05639 commit f5960c9
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion automatic/diskdefragtouch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

A compact and fast defragmenter with over 11,000,000 users worldwide now has a special version that's perfect for defragging your touch screen PC. Get your files in order and speed up your hard drive in minutes! This program is perfect for touch screens, although a mouse works fine too. If you think defragmenting is boring, try to unlock all the achievements!

Auslogics Disk Defrag Touch is a product of Auslogics, certified Microsoft® Gold Application Developer.
Auslogics Disk Defrag Touch is a product of Auslogics, certified Microsoft® Gold Application Developer.

2 changes: 1 addition & 1 deletion automatic/diskdefragtouch/diskdefragtouch.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<description><![CDATA[
A compact and fast defragmenter with over 11,000,000 users worldwide now has a special version that's perfect for defragging your touch screen PC. Get your files in order and speed up your hard drive in minutes! This program is perfect for touch screens, although a mouse works fine too. If you think defragmenting is boring, try to unlock all the achievements!
Auslogics Disk Defrag Touch is a product of Auslogics, certified Microsoft® Gold Application Developer.
Auslogics Disk Defrag Touch is a product of Auslogics, certified Microsoft® Gold Application Developer.
]]></description>
<projectUrl>http://www.auslogics.com/en/software/disk-defrag-touch/</projectUrl>
Expand Down
6 changes: 3 additions & 3 deletions automatic/kingsoft-office-free/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@

Kingsoft Office Suite Free 2013 is a free office suite, which includes free word processor, spreadsheet program and presentation maker. These three programs help you deal with office tasks with ease:

* Writer – Efficient word processor;
* Presentation – Multimedia presentations creator;
* Spreadsheets – Powerful tool for data processing and data analysis
* Writer Efficient word processor;
* Presentation Multimedia presentations creator;
* Spreadsheets Powerful tool for data processing and data analysis

Although it is a free suite, Kingsoft Office comes with many innovative features, including a paragraph adjustment tool, and multiple tabbed feature. It also has Office to PDF converter, automatic spell checking and word count features. In this latest version, new features such as watermark in document, and converting PowerPoint to Word documents are also supported.

2 changes: 1 addition & 1 deletion automatic/pspp/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ PSPP can perform descriptive statistics, T-tests, anova, linear and logistic reg
- Fast statistical procedures, even on very large data sets.
- No license fees.
- No expiration period.
- No unethical “end user license agreements”.
- No unethical “end user license agreements”.
- A fully indexed user manual.
- Freedom ensured; It is licensed under the GPLv3 or later.
- Portability; Runs on many different computers and many different operating systems (GNU or GNU/Linux are the prefered platforms, but we have had many reports that it runs well on other systems too).
Expand Down
2 changes: 1 addition & 1 deletion automatic/pspp/pspp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PSPP can perform descriptive statistics, T-tests, anova, linear and logistic reg
- Fast statistical procedures, even on very large data sets.
- No license fees.
- No expiration period.
- No unethical “end user license agreements”.
- No unethical “end user license agreements”.
- A fully indexed user manual.
- Freedom ensured; It is licensed under the GPLv3 or later.
- Portability; Runs on many different computers and many different operating systems (GNU or GNU/Linux are the prefered platforms, but we have had many reports that it runs well on other systems too).
Expand Down
2 changes: 1 addition & 1 deletion automatic/sidesync/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Using SideSync, you can conveniently share the screen and data between your PC and mobile device. Receive alarms of your phone through PC and use various features of your phone on the computer. Enjoy the smarter and more convenient life with SideSync.

Install SideSync onto a PC and mobile device, and then connect two devices through USB data cable or Wi-Fi. Simply connecting the PC and mobile, you can conveniently use various features of SideSync. For a PC or MAC, click the download button above to install. For a mobile device, you can download the app from Google Playâ„¢ or Samsung GALAXY Apps which is preloaded on your latest Galaxy device.
Install SideSync onto a PC and mobile device, and then connect two devices through USB data cable or Wi-Fi. Simply connecting the PC and mobile, you can conveniently use various features of SideSync. For a PC or MAC, click the download button above to install. For a mobile device, you can download the app from Google Play™ or Samsung GALAXY Apps which is preloaded on your latest Galaxy device.

## Features

Expand Down
2 changes: 1 addition & 1 deletion automatic/sidesync/sidesync.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<summary>Samsung SideSync enables the screens, windows, and data to be shared easily between your Samsung PC and Galaxy phone or tablet.</summary>
<description><![CDATA[Using SideSync, you can conveniently share the screen and data between your PC and mobile device. Receive alarms of your phone through PC and use various features of your phone on the computer. Enjoy the smarter and more convenient life with SideSync.
Install SideSync onto a PC and mobile device, and then connect two devices through USB data cable or Wi-Fi. Simply connecting the PC and mobile, you can conveniently use various features of SideSync. For a PC or MAC, click the download button above to install. For a mobile device, you can download the app from Google Playâ„¢ or Samsung GALAXY Apps which is preloaded on your latest Galaxy device.
Install SideSync onto a PC and mobile device, and then connect two devices through USB data cable or Wi-Fi. Simply connecting the PC and mobile, you can conveniently use various features of SideSync. For a PC or MAC, click the download button above to install. For a mobile device, you can download the app from Google Play™ or Samsung GALAXY Apps which is preloaded on your latest Galaxy device.
## Features
Expand Down
2 changes: 1 addition & 1 deletion automatic/speccy/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# <img src="https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@edba4a5849ff756e767cba86641bea97ff5721fe/icons/speccy.png" width="48" height="48"/> [speccy](https://chocolatey.org/packages/speccy)


Speccy will give you detailed statistics on every piece of hardware in your computer. Including CPU, Motherboard, RAM, Graphics Cards, Hard Disks, Optical Drives, Audio support. Additionally Speccy adds the temperatures of your different components, so you can easily see if there’s a problem!
Speccy will give you detailed statistics on every piece of hardware in your computer. Including CPU, Motherboard, RAM, Graphics Cards, Hard Disks, Optical Drives, Audio support. Additionally Speccy adds the temperatures of your different components, so you can easily see if there’s a problem!

![Speccy](https://i.imgur.com/1itlSny.png)

Expand Down
2 changes: 1 addition & 1 deletion automatic/speccy/speccy.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<authors>Piriform LTD</authors>
<summary>Speccy will give you detailed statistics on every piece of hardware in your computer.</summary>
<description><![CDATA[
Speccy will give you detailed statistics on every piece of hardware in your computer. Including CPU, Motherboard, RAM, Graphics Cards, Hard Disks, Optical Drives, Audio support. Additionally Speccy adds the temperatures of your different components, so you can easily see if there’s a problem!
Speccy will give you detailed statistics on every piece of hardware in your computer. Including CPU, Motherboard, RAM, Graphics Cards, Hard Disks, Optical Drives, Audio support. Additionally Speccy adds the temperatures of your different components, so you can easily see if there’s a problem!
![Speccy](https://i.imgur.com/1itlSny.png)
Expand Down
2 changes: 1 addition & 1 deletion automatic/tor-browser/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ $packageArgs = @{

Install-ChocolateyPackage @packageArgs

# Create .ignore files for exe’s
# Create .ignore files for exe’s
Get-ChildItem -Path $destinationFolder -Recurse | Where-Object {
$_.Extension -eq '.exe' } | ForEach-Object {
New-Item $($_.FullName + '.ignore') -Force -ItemType file
Expand Down
2 changes: 1 addition & 1 deletion manual/assaultcube/assaultcube.nuspec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Do not remove this test for UTF-8: if “Ω� doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>assaultcube</id>
Expand Down
2 changes: 1 addition & 1 deletion manual/tipp10/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# <img src="https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/2e0c82fddfc50af5efc5aeb9c8b09b11592a3819/icons/tipp10.png" width="48" height="48"/> [tipp10](https://chocolatey.org/packages/tipp10)


TIPP10 is a free 10-finger touch typing tutor. TIPP10 is easy to use and features a clear user interface. Beginners and even children will find their way around right away so they can start practicing without a hitch. You will be able to learn touch typing quickly and efficiently with the program’s intelligent practice lessons, useful support functions and an extensive progress tracker. You can also play a typing game and expand the program with open lessons or make your own to meet your specific needs.
TIPP10 is a free 10-finger touch typing tutor. TIPP10 is easy to use and features a clear user interface. Beginners and even children will find their way around right away so they can start practicing without a hitch. You will be able to learn touch typing quickly and efficiently with the program’s intelligent practice lessons, useful support functions and an extensive progress tracker. You can also play a typing game and expand the program with open lessons or make your own to meet your specific needs.

## Features
- Easy to use and for free
Expand Down
2 changes: 1 addition & 1 deletion manual/virtualdub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ The author of VirtualDub is very impatient. That means his program is designed f
- Open video file (Ctrl-O).
- Save AVI (F7).

How fast is this operation? On a C450, 40 frames per second (1.3x real-time speed).  With a little tweaking, the speed rises to 55 fps (1.8x), with the CPU hardly breaking a sweat at 40%.
How fast is this operation? On a C450, 40 frames per second (1.3x real-time speed). With a little tweaking, the speed rises to 55 fps (1.8x), with the CPU hardly breaking a sweat at 40%.

0 comments on commit f5960c9

Please sign in to comment.