toUtf.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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
15SBuf Latin1ToUtf8(const char *in);
16
18SBuf Cp1251ToUtf8(const char *in);
19
21bool isValidUtf8String(const char *source, const char *sourceEnd);
22
23#endif /* _SQUID_CHARSET_H */
24
Definition: SBuf.h:94
SBuf Cp1251ToUtf8(const char *in)
converts CP1251 to UTF-8
Definition: toUtf.cc:37
SBuf Latin1ToUtf8(const char *in)
converts ISO-LATIN-1 to UTF-8
Definition: toUtf.cc:16
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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors