/* * Copyright (c) 2007 Alexey Vatchenko * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ /* * utf8: implementation of UTF-8 charset encoding (RFC3629). */ #ifndef _UTF8_H_ #define _UTF8_H_ #include #include #define UTF8_IGNORE_ERROR 0x01 #define UTF8_SKIP_BOM 0x02 __BEGIN_DECLS size_t utf8_to_wchar(const char *in, size_t insize, wchar_t *out, size_t outsize, int flags); size_t wchar_to_utf8(const wchar_t *in, size_t insize, char *out, size_t outsize, int flags); __END_DECLS #endif /* !_UTF8_H_ */ e56800218f88cb777577083161975a3078ac0bf7'>refslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-06Update dvb-s/Astra-28E with new transponders and correctionsBob Goddard1-3/+24
Update dvb-s/Astra-28.2E. 2 new transponders, corrected duplicate of tp 92 in tp 93 and removed trailing space causing user tools segfault. Signed-off-by: Bob Goddard <linuxtv@1.linuxtv.bgcomp.co.uk>
2016-05-01Add new Brazilian channel listsMauro Carvalho Chehab305-49/+17876
Channels imported from portalbsd.com.br. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-05-01Update Brazilian channel lists to reflect latest statusMauro Carvalho Chehab990-2504/+18744
Syncrhonize with the latest tables at portalbsd.com.br. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>