squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
auth
toUtf.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2020 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
#ifndef _SQUID_CHARSET_H
10
#define _SQUID_CHARSET_H
11
12
#include "
sbuf/forward.h
"
13
15
SBuf
Latin1ToUtf8
(
const
char
*in);
16
18
SBuf
Cp1251ToUtf8
(
const
char
*in);
19
21
bool
isValidUtf8String
(
const
char
*source,
const
char
*sourceEnd);
22
23
#endif
/* _SQUID_CHARSET_H */
24
isValidUtf8String
bool isValidUtf8String(const char *source, const char *sourceEnd)
returns whether the given input is a valid (or empty) sequence of UTF-8 code points
Definition:
toUtf.cc:166
SBuf
Definition:
SBuf.h:87
Latin1ToUtf8
SBuf Latin1ToUtf8(const char *in)
converts ISO-LATIN-1 to UTF-8
Definition:
toUtf.cc:14
forward.h
Cp1251ToUtf8
SBuf Cp1251ToUtf8(const char *in)
converts CP1251 to UTF-8
Definition:
toUtf.cc:35
Introduction
About Squid
Why Squid?
Squid Developers
How to Donate
How to Help Out
Getting Squid
Squid Source Packages
Squid Deployment Case-Studies
Squid Software Foundation
Documentation
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive