mirror of
https://gitlab.freedesktop.org/uchardet/uchardet.git
synced 2025-12-06 16:56:40 +08:00
Update the URL links: uchardet is now a freedesktop project.
This commit is contained in:
parent
20eb319359
commit
771d78b7df
@ -5,8 +5,8 @@ project (${PACKAGE_NAME} CXX C)
|
|||||||
enable_testing()
|
enable_testing()
|
||||||
|
|
||||||
######## Package information
|
######## Package information
|
||||||
set (PACKAGE_URL https://github.com/BYVoid/uchardet)
|
set (PACKAGE_URL https://www.freedesktop.org/wiki/Software/uchardet/)
|
||||||
set (PACKAGE_BUGREPORT https://github.com/BYVoid/uchardet/issues)
|
set (PACKAGE_BUGREPORT https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet)
|
||||||
set (UCHARDET_VERSION_MAJOR 0)
|
set (UCHARDET_VERSION_MAJOR 0)
|
||||||
set (UCHARDET_VERSION_MINOR 0)
|
set (UCHARDET_VERSION_MINOR 0)
|
||||||
set (UCHARDET_VERSION_REVISION 5)
|
set (UCHARDET_VERSION_REVISION 5)
|
||||||
|
|||||||
15
README.md
15
README.md
@ -1,6 +1,6 @@
|
|||||||
# uchardet
|
# uchardet
|
||||||
|
|
||||||
[uchardet](https://github.com/BYVoid/uchardet) is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text. Returned encoding names are [iconv](https://www.gnu.org/software/libiconv/)-compatible.
|
[uchardet](https://www.freedesktop.org/wiki/Software/uchardet/) is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text. Returned encoding names are [iconv](https://www.gnu.org/software/libiconv/)-compatible.
|
||||||
|
|
||||||
uchardet started as a C language binding of the original C++ implementation of the universal charset detection library by Mozilla. It can now detect more charsets, and more reliably than the original implementation.
|
uchardet started as a C language binding of the original C++ implementation of the universal charset detection library by Mozilla. It can now detect more charsets, and more reliably than the original implementation.
|
||||||
|
|
||||||
@ -100,6 +100,15 @@ Techniques used by universalchardet are described at http://www.mozilla.org/proj
|
|||||||
|
|
||||||
### Build from source
|
### Build from source
|
||||||
|
|
||||||
|
Releases are available from:
|
||||||
|
https://www.freedesktop.org/software/uchardet/releases/
|
||||||
|
|
||||||
|
If you prefer a development version, clone the git repository:
|
||||||
|
|
||||||
|
git clone git://anongit.freedesktop.org/uchardet/uchardet
|
||||||
|
|
||||||
|
The source can be browsed at: https://cgit.freedesktop.org/uchardet/uchardet/
|
||||||
|
|
||||||
cmake .
|
cmake .
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
@ -113,7 +122,7 @@ uchardet Command Line Tool
|
|||||||
Version 0.0.5
|
Version 0.0.5
|
||||||
|
|
||||||
Authors: BYVoid, Jehan
|
Authors: BYVoid, Jehan
|
||||||
Bug Report: https://github.com/BYVoid/uchardet/issues
|
Bug Report: https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
uchardet [Options] [File]...
|
uchardet [Options] [File]...
|
||||||
@ -124,7 +133,7 @@ Options:
|
|||||||
```
|
```
|
||||||
### Library
|
### Library
|
||||||
|
|
||||||
See [uchardet.h](https://github.com/BYVoid/uchardet/blob/master/src/uchardet.h)
|
See [uchardet.h](https://cgit.freedesktop.org/uchardet/uchardet/tree/src/uchardet.h)
|
||||||
|
|
||||||
## Related Projects
|
## Related Projects
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@
|
|||||||
<key>IDESourceControlProjectOriginsDictionary</key>
|
<key>IDESourceControlProjectOriginsDictionary</key>
|
||||||
<dict>
|
<dict>
|
||||||
<key>7DF9952B76987F54D66D74171482E11FAF33FDCB</key>
|
<key>7DF9952B76987F54D66D74171482E11FAF33FDCB</key>
|
||||||
<string>https://github.com/BYVoid/uchardet</string>
|
<string>https://www.freedesktop.org/wiki/Software/uchardet/</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>IDESourceControlProjectPath</key>
|
<key>IDESourceControlProjectPath</key>
|
||||||
<string>build-mac/uchardet.xcodeproj</string>
|
<string>build-mac/uchardet.xcodeproj</string>
|
||||||
@ -21,7 +21,7 @@
|
|||||||
<string>../../..</string>
|
<string>../../..</string>
|
||||||
</dict>
|
</dict>
|
||||||
<key>IDESourceControlProjectURL</key>
|
<key>IDESourceControlProjectURL</key>
|
||||||
<string>https://github.com/BYVoid/uchardet</string>
|
<string>https://www.freedesktop.org/wiki/Software/uchardet/</string>
|
||||||
<key>IDESourceControlProjectVersion</key>
|
<key>IDESourceControlProjectVersion</key>
|
||||||
<integer>111</integer>
|
<integer>111</integer>
|
||||||
<key>IDESourceControlProjectWCCIdentifier</key>
|
<key>IDESourceControlProjectWCCIdentifier</key>
|
||||||
|
|||||||
@ -81,7 +81,7 @@ void show_version()
|
|||||||
printf("Version %s\n", VERSION);
|
printf("Version %s\n", VERSION);
|
||||||
printf("\n");
|
printf("\n");
|
||||||
printf("Authors: %s\n", "BYVoid, Jehan");
|
printf("Authors: %s\n", "BYVoid, Jehan");
|
||||||
printf("Bug Report: %s\n", "https://github.com/BYVoid/uchardet/issues");
|
printf("Bug Report: %s\n", "https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet");
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -29,11 +29,11 @@
|
|||||||
plus de codages de caractères que l'originale.
|
plus de codages de caractères que l'originale.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<homepage rdf:resource="https://github.com/BYVoid/uchardet" />
|
<homepage rdf:resource="https://www.freedesktop.org/wiki/Software/uchardet/" />
|
||||||
|
|
||||||
<download-page rdf:resource="https://github.com/BYVoid/uchardet/releases" />
|
<download-page rdf:resource="https://www.freedesktop.org/software/uchardet/releases/" />
|
||||||
|
|
||||||
<bug-database rdf:resource="https://github.com/BYVoid/uchardet/issues" />
|
<bug-database rdf:resource="https://bugs.freedesktop.org/enter_bug.cgi?product=uchardet" />
|
||||||
|
|
||||||
<programming-language>C</programming-language>
|
<programming-language>C</programming-language>
|
||||||
<programming-language>C++</programming-language>
|
<programming-language>C++</programming-language>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user