You are not logged in.
When loading subtitles I get this warning:
Could not find a UTF-8 locale,
character keys beyond Latin-1 will not be handled.I'm pretty sure my locale is well defined (it's es_HN.UTF-8).
I have no idea what is wrong.
Last edited by tridus (2014-07-03 20:48:34)
Offline
What's the output of `locale` and `locale -a`?
Online
locale:
LANG=es_HN.UTF-8
LC_CTYPE="es_HN.UTF-8"
LC_NUMERIC="es_HN.UTF-8"
LC_TIME="es_HN.UTF-8"
LC_COLLATE="es_HN.UTF-8"
LC_MONETARY="es_HN.UTF-8"
LC_MESSAGES="es_HN.UTF-8"
LC_PAPER="es_HN.UTF-8"
LC_NAME="es_HN.UTF-8"
LC_ADDRESS="es_HN.UTF-8"
LC_TELEPHONE="es_HN.UTF-8"
LC_MEASUREMENT="es_HN.UTF-8"
LC_IDENTIFICATION="es_HN.UTF-8"
LC_ALL=locale -a:
C
es_HN.utf8
POSIXOffline
You're right, everything looks fine with your locale setup. No idea why you would have that error.
Online
https://raw.githubusercontent.com/grawi … cale-check Try running this.
Offline
./locale-check:
* Parent: 266 /usr/bin/enlightenment
* Terminal: 382 terminology
* Shell: 388 /bin/bash
Looks good. ♥
* You are using the es_HN.UTF-8 locale.
* Shell's locale matches terminal's locale.
* Terminal's locale matches parent process locale.Offline
So looking at mplayer source code, it seems to do really stupid thing and try set locale to C.UTF-8 or en_US.UTF-8. If you don't have any of those locales generated, it assumes you don't have UTF-8 locale and spouts that message. (Most likely your subtitles will still be fine though?)
mpv doesn't seem to have this behaviour in source code as far I see, and I suggest trying it instead. (It's a fork that pulls both mplayer and mplayer2 and improves over them)
Last edited by Cloudef (2014-07-03 18:40:30)
Offline
I tested some Spanish subtitles, and it rendered the special characters correctly. So I guess it's an innocuous warning after all.
Latin-1 characters can be handled with an option in the config file: `subcp=latin1`
I will try mpv if I find more problems.
Last edited by tridus (2014-07-03 20:46:56)
Offline
mpv ftw
mplayer wtf
This silver ladybug at line 28...
Offline