aboutsummaryrefslogtreecommitdiffstats
path: root/include/charset.h
blob: f2fb33e764d63ef0440ef6278dfde242264df914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*************************************************
* Character Set Handling Header File             *
* (C) 1999-2006 The Botan Project                *
*************************************************/

#ifndef BOTAN_CHARSET_H__
#define BOTAN_CHARSET_H__

#include <botan/types.h>
#include <string>

namespace Botan {

/*************************************************
* Character Set Handling                         *
*************************************************/
bool is_digit(char);
bool is_space(char);
char to_lower(char);

byte char2digit(char);
char digit2char(byte);

std::string local2iso(const std::string&);
std::string iso2local(const std::string&);

std::string utf2iso(const std::string&);
std::string iso2utf(const std::string&);

}

#endif