All Projects → BassLC → Idutf8lib

BassLC / Idutf8lib

Licence: bsd-3-clause
Idiot's UTF-8 Library

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Idutf8lib

Unicode Bidirectional
A Javascript implementation of the Unicode 9.0.0 Bidirectional Algorithm
Stars: ✭ 35 (+191.67%)
Mutual labels:  library, unicode
Gifdec
small C GIF decoder
Stars: ✭ 100 (+733.33%)
Mutual labels:  library, decoder
Php Confusable Homoglyphs
A PHP port of https://github.com/vhf/confusable_homoglyphs
Stars: ✭ 27 (+125%)
Mutual labels:  library, unicode
Harfbuzz
HarfBuzz text shaping engine
Stars: ✭ 2,206 (+18283.33%)
Mutual labels:  library, unicode
Ethereum Input Data Decoder
Ethereum smart contract transaction input data decoder
Stars: ✭ 242 (+1916.67%)
Mutual labels:  library, decoder
Ustring
The Hoa\Ustring library.
Stars: ✭ 403 (+3258.33%)
Mutual labels:  library, unicode
Sheenbidi
A sophisticated implementation of Unicode Bidirectional Algorithm
Stars: ✭ 52 (+333.33%)
Mutual labels:  library, unicode
Ffmediatoolkit
FFMediaToolkit is a cross-platform video decoder/encoder library for .NET that uses FFmpeg native libraries. It supports video frames extraction, reading stream metadata and creating videos from bitmaps in any format supported by FFmpeg.
Stars: ✭ 156 (+1200%)
Mutual labels:  library, decoder
Contour
Modern C++ Terminal Emulator
Stars: ✭ 191 (+1491.67%)
Mutual labels:  library, unicode
Tiny Utf8
Unicode (UTF-8) capable std::string
Stars: ✭ 322 (+2583.33%)
Mutual labels:  decoder, unicode
Slug Generator
Slug Generator Library for PHP, based on Unicode’s CLDR data
Stars: ✭ 740 (+6066.67%)
Mutual labels:  library, unicode
Zeroframe Router
A very simple ZeroFrame Router for the ZeroNet.
Stars: ✭ 11 (-8.33%)
Mutual labels:  library
Noty
⛔️ DEPRECATED - Dependency-free notification library that makes it easy to create alert - success - error - warning - information - confirmation messages as an alternative the standard alert dialog.
Stars: ✭ 6,725 (+55941.67%)
Mutual labels:  library
Taco
The Tensor Algebra Compiler (taco) computes sparse tensor expressions on CPUs and GPUs
Stars: ✭ 846 (+6950%)
Mutual labels:  library
Abclinuxuapi
API for http://abclinuxu.cz.
Stars: ✭ 8 (-33.33%)
Mutual labels:  library
Joctomap
Java/Android wrapper for Octomap: an octree-based mapping library
Stars: ✭ 11 (-8.33%)
Mutual labels:  library
Cordova Cli
Apache Cordova CLI
Stars: ✭ 861 (+7075%)
Mutual labels:  library
Usbmuxd
A socket daemon to multiplex connections from and to iOS devices
Stars: ✭ 847 (+6958.33%)
Mutual labels:  library
Librg
🚀 Making multi-player gamedev simpler since 2017
Stars: ✭ 813 (+6675%)
Mutual labels:  library
Cute php
PHP version of the beanstalkd-backed job queuing system.
Stars: ✭ 7 (-41.67%)
Mutual labels:  library

Idiot's UTF-8 Library

A very (too much really) simple Utf8 library for C++

Usage

#include "lib/idutf8lib.hpp"

Utf8String text; //Empty UTF8 object
Utf8String utf8_text("Héĺĺò Ẃórld"); //std::string compatible constructor
text = "Jello!"; //Supports assignment with std::string AND Utf8String objects
text.to_string(); // == std::string("Jello!")

utf8_text.size_in_chars(); // == 11
utf8_text.size_in_bytes(); // == 18 

utf8_text[0]; // == std::string("H")
utf8_text.sub_utf8str(1,3); // == Utf8String("éĺĺ")

Features

  • Decodes and parses UTF-8 strings correctly (at least until now)
  • Very lightweight and small: less than 200 newlines total (*without counting tests)

Requirements

  • A C++14 compatible compiler

Notes

Makefile serves only for testing purposes.

Uses the Catch framework for tests.

Thanks

UTF8-CPP

tiny-utf8

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].