/* Function to convert a given Unicode encoded string to ASCII. This function will only work correctly on Unicode strings which contain ASCII printable characters only. */
void UnicodeToASCII(uint8_t *UnicodeString, char *Buffer)
/* Function to convert a given Unicode encoded string to ASCII. This function will only work correctly on Unicode strings which contain ASCII printable characters only. */
void UnicodeToASCII(uint8_t *UnicodeString, char *Buffer)
{
	uint8_t CharactersRemaining = *(UnicodeString++);
	while (CharactersRemaining--)
	{
		*(Buffer++) = *UnicodeString;
		UnicodeString += 2;
	}
	*Buffer = 0;
}