Squid Web Cache
master
Loading...
Searching...
No Matches
toUtf.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2025 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_SRC_AUTH_TOUTF_H
10
#define SQUID_SRC_AUTH_TOUTF_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_SRC_AUTH_TOUTF_H */
24
SBuf
Definition
SBuf.h:94
forward.h
Cp1251ToUtf8
SBuf Cp1251ToUtf8(const char *in)
converts CP1251 to UTF-8
Definition
toUtf.cc:37
Latin1ToUtf8
SBuf Latin1ToUtf8(const char *in)
converts ISO-LATIN-1 to UTF-8
Definition
toUtf.cc:16
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:172
squid
src
auth
toUtf.h
Generated by
1.9.8