Logo Search packages:      
Sourcecode: fuse-umfuse-fat version File versions  Download package

int unicode_utf16be_len ( uint16_t  lead_word  ) 

Gets the length of a UTF-16BE character.

Remarks:
This is the big endian version of unicode_utf16le_len()

Definition at line 45 of file utf16be.c.

{
      int res = 1;
      if ((big_endian_16(lead_word) & 0xFC00) == 0xD800) res = 2;
      return res;
}


Generated by  Doxygen 1.6.0   Back to index