/* Convert one or more ASCII characters into a single unicode character. Returns the number of ASCII characters corresponding to the unicode char.  */
static int asc2unichar(struct super_block *sb, const char *astr, int len, wchar_t *uc)
/* Convert one or more ASCII characters into a single unicode character. Returns the number of ASCII characters corresponding to the unicode char.  */
static int asc2unichar(struct super_block *sb, const char *astr, int len, wchar_t *uc)
{
	int size = HFSPLUS_SB(sb).nls->char2uni(astr, len, uc);
	if (size <= 0) {
		*uc = '?';
		size = 1;
	}
	switch (*uc) {
	case 0x2400:
		*uc = 0;
		break;
	case ':':
		*uc = '/';
		break;
	}
	return size;
}