toUtf.h File Reference
#include "sbuf/forward.h"
Include dependency graph for toUtf.h:
![](toUtf_8h__incl.png)
This graph shows which files directly or indirectly include this file:
![](toUtf_8h__dep__incl.png)
Go to the source code of this file.
Functions | |
SBuf | Latin1ToUtf8 (const char *in) |
converts ISO-LATIN-1 to UTF-8 More... | |
SBuf | Cp1251ToUtf8 (const char *in) |
converts CP1251 to UTF-8 More... | |
bool | isValidUtf8String (const char *source, const char *sourceEnd) |
returns whether the given input is a valid (or empty) sequence of UTF-8 code points More... | |
Function Documentation
◆ Cp1251ToUtf8()
SBuf Cp1251ToUtf8 | ( | const char * | in | ) |
Definition at line 37 of file toUtf.cc.
References SBuf::append(), and max().
◆ 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 at line 172 of file toUtf.cc.
References isValidUtf8CodePoint(), and utf8CodePointLength().
◆ Latin1ToUtf8()
SBuf Latin1ToUtf8 | ( | const char * | in | ) |
Definition at line 16 of file toUtf.cc.
References SBuf::append().
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
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products