Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Bug in iconv?

  1. Mar 6, 2006 #1
    I've been using the iconv routine with some success to convert from utf-8 encoded Japanese to cp932 encoded Japanese. However, some characters do not convert. For instance 0xe7 0xab 0x8e is a valid utf-8 character that iconv cannot handle. I've searched the web in vain for insight into what is going wrong. I find that regardless of whether iconv returns a correctly translated string or not, I always get an error number of ESPIPE (errno = 29) which is the error code for illegal seek. That suggests to me that there is a truncated file somewhere that iconv relies upon. Does anyone have any ideas?
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?