equal
deleted
inserted
replaced
673 |
673 |
674 if (convd == (iconv_t)(-1)) { |
674 if (convd == (iconv_t)(-1)) { |
675 const char *env = GetLocalCode(); |
675 const char *env = GetLocalCode(); |
676 convd = iconv_open(env, INTERNALCODE); |
676 convd = iconv_open(env, INTERNALCODE); |
677 if (convd == (iconv_t)(-1)) { |
677 if (convd == (iconv_t)(-1)) { |
678 DEBUG(misc, 0) ("[iconv] Cannot convert from codeset '%s' to '%s'", INTERNALCODE, env); |
678 DEBUG(misc, 0) ("[iconv] Conversion from codeset '%s' to '%s' unsupported", INTERNALCODE, env); |
679 return name; |
679 return name; |
680 } |
680 } |
681 } |
681 } |
682 |
682 |
683 return convert_tofrom_fs(convd, name); |
683 return convert_tofrom_fs(convd, name); |
692 |
692 |
693 if (convd == (iconv_t)(-1)) { |
693 if (convd == (iconv_t)(-1)) { |
694 const char *env = GetLocalCode(); |
694 const char *env = GetLocalCode(); |
695 convd = iconv_open(INTERNALCODE, env); |
695 convd = iconv_open(INTERNALCODE, env); |
696 if (convd == (iconv_t)(-1)) { |
696 if (convd == (iconv_t)(-1)) { |
697 DEBUG(misc, 0) ("[iconv] Cannot convert from codeset '%s' to '%s'", INTERNALCODE, env); |
697 DEBUG(misc, 0) ("[iconv] Conversion from codeset '%s' to '%s' unsupported", env, INTERNALCODE); |
698 return name; |
698 return name; |
699 } |
699 } |
700 } |
700 } |
701 |
701 |
702 return convert_tofrom_fs(convd, name); |
702 return convert_tofrom_fs(convd, name); |