Sign in

xiemeng / Optek_sdk_131 · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • Optek_sdk_131
  • source
  • media
  • usbhost
  • utf8.h
  • Update(usb lib of msc and device):Closes #I3Y7KC
    6376da04
    LuoZheSi authored
    2021-07-01 16:58:32 +0800  
    Browse Files »
utf8.h 213 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11
#ifndef	__UTF8_H__
#define	__UTF8_H__


//len is size in bytes
//maxlen/len16 is size in U16
//len16 include terminal null \0\0
int utf8_toUcs16( U8 *utf8, int len, U16 *ucs16, int maxlen );


#endif //__UTF8_H__