MCPcopy Create free account
hub / github.com/acl-dev/acl / isvalidChinese

Function isvalidChinese

lib_acl_cpp/samples/rfc2047/main.cpp:17–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#include "acl_cpp/mime/rfc2047.hpp"
16
17static int isvalidChinese(char c1, char c2)
18{
19 if ((c1 & 0x80) == 0 || (c2 & 0x80) == 0)
20 return (0);
21 else
22 return (1);
23 if (!((c2)&0xc0) )
24 return (0);
25}
26
27// �����Ч�ĺ����ַ�
28static int get_valid_string(char *src, unsigned dlen, char *buffer, unsigned bsize)

Callers 1

get_valid_stringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…