OS4 DepotLogo by Nickman 
(anonymous IP:,2219) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Library » Misc » utf8_library.lha


Description: Encode/Decode or manipulate UTF8 text strings.
Download: utf8_library.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 189kb
Version: 7.1
Date: 30 Jan 2021
Author: Kjetil Hvalstrand
Submitter: Kjetil Hvalstrand
Homepage: http://lifeofliveforit.blogspot.no/search/label/UTF8
Requirements: AmigaOS4.1 , Dos.Library version 53 (or newer). library is not backwards compatible.
Category: library/misc
Replaces: library/misc/utf8_library.lha
License: Freeware
Distribute: yes
Min OS Version: 4.1
FileID: 11574
Comments: 7
Snapshots: 0
Videos: 0
Downloads: 159  (Current version)
662  (Accumulated)
Votes: 1 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
Short:	Encode/Decode or manipulate UTF8 text strings.
Author:	Kjetil Hvalstrand
Version:	7
Requires:	AmigaOS4.X


	UTF8.library is a new library for working whit UTF8 strings. 
	It was created because there was a need for a safe and easy to use library


	*	UTF8.Library
	*	SDK header files for C and C++
	*	Autodocs.
	* 	Tests / examples.


	DOS.Library version 53 (newer version might work, depends on DOS.library).
	If you don't have correct DOS.library version UTF8.library can't open.

Known issues:

	UTF8->UTF8Printf() is not included in the C++ class yet.

	LGPL, use the library in your projects, you can contribute to it.
	changes should be committed to repo.



	You can distribute or bundle this library whit your software, but please
include the README.


	some unknown bugs might exist.

	Reports bugs to:


*	According to Trixie iconv is not straightforward to use. 

*	According to Joerg Storohmayer there is nothing in Codesets.library, 
	AmigaOS does not already support.


29.01.2021 -- version 7

	* A lot function renamed
	* Removed lot of function pointers in the code (slow)
	* Moved dos,graphics,etc moved out libbase (no indirects, no mess), 
		now code works with -D__USE_INLINE__
	* Optimized UTF8GetGlyph(...) and UTF8EstimateByteSize(...)

14.02.2016 -- version 6

	Added: TextUTF8(), TextUTF8N(), TextUTF8Extent(), TextUTF8ExtentN()
	Added: TextUTF8Length(), TextUTF8LengthN(), DecodeN()
	Changed all functions to use AllocVecTags().
	Fixed: some functions did not use mem_flags correct.
	Updated autodocs.

21.03.2013 -- version 5

	Added: ModLeft(), ModRight(), ModTrim(), ModInsert(), ModRemove(),
	Added: CaseCmp(),Cmp(), FindGlyph(),Copy()
	Changed: Decode(),Encode() so Codeset_page is first for consistency.
	Changed: ToUpper(), ToLower() ModToUpper(), ModToLower() so utf8_alphabet is
first for consistency.
	Updated inline4/UTF8.h
	Updated C++/UTF8.h (Work in progress)
	More tests / examples.

17.03.2013 -- Version 4

	Added: Left(), Right(), Trim(), Insert(), Remove(), GetOffset(), 
	Added: Merge(), ModToLower(), ModToUpper()
	Changed: ToLower(), ToUpper() Now they copy the result, not replace the input,
and you need a memory flag.
	Updated inline4/UTF8.h
	Updated C++/UTF8.h (Work in progress)
	Updated Autodocs.
	More tests / examples.

15.03.2013 -- Version 3

	Added IndexOf(), Printf(), GetSize()
	Changed: SubString(), Decode(), Encode() now has memory flag argument.
	Updated Autodocs.
	More tests / examples.

10.03.2013 -- Version 2

	Added SubString(), ToUpper(), ToLower().
	Updated Autodocs.
	More tests / examples.

09.03.2013 -- Version 1.

Copyright © 2004-2024 by Björn Hagström All Rights Reserved