https://github.com/fullpipe/futf
Fix missunderstud encodings
https://github.com/fullpipe/futf
encoding win1251 windows-1251 windows1251
Last synced: 2 months ago
JSON representation
Fix missunderstud encodings
- Host: GitHub
- URL: https://github.com/fullpipe/futf
- Owner: fullpipe
- License: mit
- Created: 2024-12-13T13:11:59.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-27T14:36:26.000Z (2 months ago)
- Last Synced: 2025-03-27T15:42:48.434Z (2 months ago)
- Topics: encoding, win1251, windows-1251, windows1251
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# force-utf8
### Windows1251
#### Scenario:
- original Windows-1251 text has been mis-interpreted as Windows-1252
- then those mis-interpreted characters are themselves turned into their UTF-8 equivalents#### Example:
`Мировая фанстастика от А до Я` -> `Ìèðîâàÿ ôàíñòàñòèêà îò À äî ß`
## Usage
```go
import github.com/fullpipe/futffutf.ToUTF8("Ìèðîâàÿ ôàíñòàñòèêà îò À äî ß") // Мировая фанстастика от А до Я
```