-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
1,710 additions
and
1,602 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/************************************************************ | ||
*Copyright (C),lcb0281at163.com lcb0281atgmail.com | ||
*BlogAddr: caibiao-lee.blog.csdn.net | ||
*FileName: GBK_To_Unicode.h | ||
*Description:×ÖÌå¸ñʽת»» | ||
*Date: 2020-02-03 | ||
*Author: Caibiao Lee | ||
*Version: V1.0 | ||
*Others: | ||
*History: | ||
***********************************************************/ | ||
#ifndef _GBK_TO_UNICODE_H_ | ||
#define _GBK_TO_UNICODE_H_ | ||
#include <unistd.h> | ||
#include <dirent.h> | ||
#include <sys/file.h> | ||
#include <sys/time.h> | ||
#include <sys/types.h> | ||
#include <sys/msg.h> | ||
#include <sys/ipc.h> | ||
#include <sys/shm.h> | ||
#include <sys/mman.h> | ||
#include <fcntl.h> | ||
#include <signal.h> | ||
|
||
#include <sys/types.h> | ||
#include <termios.h> | ||
#include <errno.h> | ||
#include <fcntl.h> | ||
#include <stdio.h> | ||
#include <string.h> | ||
|
||
extern unsigned short zz_gbk2uni(unsigned char ch, unsigned char cl); | ||
extern int enc_unicode_to_utf8_one(unsigned long unic, unsigned char *pOutput, | ||
int outSize); | ||
#endif | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.