From: Yukihiro Matsumoto Date: 2006-05-30T01:07:08+09:00 Subject: Re: Iconv buffer overflow? Hi, In message "Re: Iconv buffer overflow?" on Mon, 29 May 2006 23:32:48 +0900, "Victor Shepelev" writes: |Hi all. | |require 'iconv' |max_length = 513 |str = ' ' * max_length |Iconv.new('utf-8', 'windows-1252').iconv(str) | |Error:in `Iconv#iconv': " " (Iconv::BrokenLibrary) | |If max_length <= 512, all is OK. | |1. Is it normal? |2. Is it documented somewhere? I suspect that it's caused by underlying iconv library on your platform. Could you show us your platform information? It's OK on my Linux box. matz.