[Mediawiki-l] Changing password for user with special utf characters in name

Platonides Platonides at gmail.com
Mon Dec 19 00:12:29 UTC 2011


On 18/12/11 06:52, Dan Nessett wrote:
> I am trying to use changePassword.php to change the password of a user 
> (who has forgotten his password). The name of the user has the spanish 
> character tilde-n in it (UTF-8 \xF1). However, I can't figure out how to 
> specify this character in the --user= value. When I try to use \xF1, the 
> maintenance script sees it as the literal character string "xF1". If I 
> use \\xF1, the script sees the literal character sring "\xF1". I can't 
> figure out how to get the script to accept the unicode string encoding.
> 
> Any ideas?

What about writing ñ in a utf-8 terminal?





More information about the MediaWiki-l mailing list