All Projects → jwerle → libutf8

jwerle / libutf8

Licence: MIT license
A whatwg compliant UTF8 encoding and decoding library

Programming Languages

c
50402 projects - #5 most used programming language
Makefile
30231 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to libutf8

Androidcamera
🔥🔥🔥自定义Android相机(仿抖音 TikTok),其中功能包括视频人脸识别贴纸,美颜,分段录制,视频裁剪,视频帧处理,获取视频关键帧,视频旋转,添加滤镜,添加水印,合成Gif到视频,文字转视频,图片转视频,音视频合成,音频变声处理,SoundTouch,Fmod音频处理。 Android camera(imitation Tik Tok), which includes video editor,audio editor,video face recognition stickers, segment recording,video cropping, video frame processing, get the first video frame, key frame, v…
Stars: ✭ 2,112 (+6500%)
Mutual labels:  encode, decode
morse
Morse Code Library in Go
Stars: ✭ 75 (+134.38%)
Mutual labels:  encode, decode
Silk V3 Decoder
kn007's blog
Stars: ✭ 1,832 (+5625%)
Mutual labels:  encode, decode
time decode
A timestamp and date decoder written for python 3
Stars: ✭ 24 (-25%)
Mutual labels:  encode, decode
janus-gateway-live
RTMP edge speed with janus-gateway
Stars: ✭ 38 (+18.75%)
Mutual labels:  encode, decode
crypthash-net
CryptHash.NET is a .NET multi-target library to encrypt/decrypt/hash/encode/decode strings and files, with an optional .NET Core multiplatform console utility.
Stars: ✭ 33 (+3.13%)
Mutual labels:  encode, decode
FireSnapshot
A useful Firebase-Cloud-Firestore Wrapper with Codable.
Stars: ✭ 56 (+75%)
Mutual labels:  encode, decode
He
A robust HTML entity encoder/decoder written in JavaScript.
Stars: ✭ 2,973 (+9190.63%)
Mutual labels:  encode, decode
node-lei-proto
简单的Buffer编码/解析模块
Stars: ✭ 14 (-56.25%)
Mutual labels:  encode, decode
StringConvert
A simple C++11 based helper for converting string between a various charset
Stars: ✭ 16 (-50%)
Mutual labels:  encode, decode
alawmulaw
A-Law and mu-Law codecs in JavaScript.
Stars: ✭ 22 (-31.25%)
Mutual labels:  encode, decode
fastproto
FastProto is a binary data processing tool written in Java.
Stars: ✭ 65 (+103.13%)
Mutual labels:  encode, decode
haystack bio
Haystack: Epigenetic Variability and Transcription Factor Motifs Analysis Pipeline
Stars: ✭ 42 (+31.25%)
Mutual labels:  encode
video-quality-metrics
Test specified presets/CRF values for the x264 or x265 encoder. Compares VMAF/SSIM/PSNR numerically & via graphs.
Stars: ✭ 87 (+171.88%)
Mutual labels:  encode
bilibili-web-socket
弹幕 web websocket
Stars: ✭ 19 (-40.62%)
Mutual labels:  encode
Reverse-Engineering
Tools I have Reverse Engineered !!
Stars: ✭ 46 (+43.75%)
Mutual labels:  decode
homoglyphs
Homoglyphs: get similar letters, convert to ASCII, detect possible languages and UTF-8 group.
Stars: ✭ 70 (+118.75%)
Mutual labels:  utf8
Androidutilcode
AndroidUtilCode 🔥 is a powerful & easy to use library for Android. This library encapsulates the functions that commonly used in Android development which have complete demo and unit test. By using it's encapsulated APIs, you can greatly improve the development efficiency. The program mainly consists of two modules which is utilcode, which is commonly used in development, and subutil which is rarely used in development, but the utils can be beneficial to simplify the main module. 🔥
Stars: ✭ 30,239 (+94396.88%)
Mutual labels:  encode
cognito-jwt-verifier
Verify ID and access JWT tokens from AWS Cognito in your node/Lambda backend with minimal dependencies.
Stars: ✭ 25 (-21.87%)
Mutual labels:  decode
unicode display width
Displayed width of UTF-8 strings in Modern C++
Stars: ✭ 30 (-6.25%)
Mutual labels:  utf8

libutf8

A whatwg compliant UTF8 encoding and decoding library based on this specification http://encoding.spec.whatwg.org/

install

clib:

$ clib install jwerle/libutf8

source:

$ make
$ make test
$ [sudo] make install

usage

#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <utf8.h>

int
main (void) {
  char str[] = "Foo © bar 𝌆 baz ☃ qux";
  char *enc = NULL; 
  char *dec = NULL;

  enc = utf8_encode(str);
  
  if (NULL == enc) {
    utf8_perror("encode");
    return 1;
  }

  dec = utf8_decode(enc);
  
  if (NULL == dec) {
    utf8_perror("decode");
    return 1;
  }

  assert(0 == strcmp(str, dec));

  return 0;
}

api

See utf8.h

license

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].