On 7 January 2014 03:31, Bill Martin <billmartin...@gmail.com> wrote: > I'm using Trousers and tss on my Yocto target build. I attempted to make a > call to tspi_tpm_collateidentityrequest and this requires a UNICODE string > in UTF-16 form. The preceding call to iconv fails when I try to convert from > ASCII to UTF-16. I tried variations of the UTF-16, based on iconv --list. > > I know this command works on other Unix-based systems. I tried on three > different machines running Ubuntu and can convert from ASCII to UTF-16. > > Rather than modify all the TrouSers code and force it to only use UTF-8, I > wonder if anyone here has a patch for eglibc that would allow iconv to > convert to UTF-16?
Can you check that your image contains the eglibc-gconv-utf-16 package, as the character set converters are split into separate packages and only installed on request. You probably want to add a runtime dependency on that package to trousers. Ross _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto