1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3<title>oscl_string_utf8.h Source File</title> 4<link href="doxygen.css" rel="stylesheet" type="text/css"> 5</head><body> 6<!-- Generated by Doxygen 1.2.18 --> 7<center> 8<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9<hr><h1>oscl_string_utf8.h</h1><a href="oscl__string__utf8_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> 1000002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 1100003 1200004 <span class="comment">// O S C L _ S T R I N G _ U T F 8</span> 1300005 1400006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 1500007 1600023 <span class="preprocessor">#ifndef OSCL_STRING_UTF8_H</span> 1700024 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_STRING_UTF8_H</span> 1800025 <span class="preprocessor"></span> 1900026 <span class="comment">// - - Inclusion - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> 2000027 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> 2100028 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> 2200029 <span class="preprocessor">#endif</span> 2300030 <span class="preprocessor"></span> 2400031 <span class="comment">// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -</span> 2500032 <span class="comment">// Function prototypes</span> 2600049 <span class="comment"></span>OSCL_IMPORT_REF <span class="keywordtype">bool</span> <a class="code" href="group__osclutil.html#a40">oscl_str_is_valid_utf8</a>(<span class="keyword">const</span> uint8 *str_buf, uint32& num_valid_characters, uint32 max_bytes = 0, 2700050 uint32 max_char_2_valid = 0, uint32 * num_byte_4_char = <a class="code" href="group__osclbase.html#a81">NULL</a>); 2800065 OSCL_IMPORT_REF int32 <a class="code" href="group__osclutil.html#a41">oscl_str_truncate_utf8</a>(uint8 *str_buf, uint32 max_char, uint32 max_bytes = 0); 2900066 3000067 <span class="preprocessor">#endif</span> 3100068 <span class="preprocessor"></span> 32</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 33<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 34</small></address> 35</body> 36</html> 37