[pulseaudio-discuss] "Unable to convert error string to locale, filtering." errors

Sjoerd Venema srg.venema at gmail.com
Wed Nov 1 12:19:50 UTC 2017


My Buildroot linux was *not *build with libiconv, but instead with some
sort of build-in "locale/i8n" support.
This could be a possible cause. I'm now creating a new system wherein I
reverse this (with libiconv, without the build-in stuff).

I don't know why that ISO-8859-1 locale is generated, I left most Buildroot
settings to default concerning locales..
I have no LANG setting.

I'll report back today if I make it, or in a month ;-) as I'll be away from
my keyboard for a while.

Thanks,
Sjoerd

On 1 November 2017 at 10:50, Tanu Kaskinen <tanuk at iki.fi> wrote:

> On Sun, 2017-10-29 at 18:34 +0100, Sjoerd Venema wrote:
> > Hi,
> >
> > I'm getting a lot of "Unable to convert error string to locale,
> filtering."
> > errors in my /var/log/messages. I think PulseAudio is sending them out as
> > UTF-8.
> >
> > However, my locale -a output contains UTF-8:
> >  en_US ISO-8859-1
> >  en_US.UTF-8
> >
> > Is it a locale issue? If so, which locale should I add?
> > Or is it a different kind of problem?
> >
> > thanks,
> > Sjoerd Venema
> >
> > PS: I'm on a small Buildroot Busybox environment.
>
> The error message is printed when trying to convert a system error
> message string to UTF-8. One possible reason is that PulseAudio is
> built without iconv support, and a system error message is not valid
> UTF-8. What is LANG set to? If it's any variant of en_US, it seems
> unlikely that the strings would contain characters outside the safe
> ASCII set.
>
> If PulseAudio is built with iconv support, then there's apparently some
> problem with using iconv, but I don't have any guesses about what the
> exact problem might be.
>
> Is it intentional that you have the en_US ISO-8859-1 locale generated?
> I don't see the point of having anything else than UTF-8 locales.
>
> --
> Tanu
>
> https://www.patreon.com/tanuk
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20171101/87766282/attachment.html>


More information about the pulseaudio-discuss mailing list