upload() UTF-8 encoding issues.
Closed this issue · 1 comments
GoogleCodeExporter commented
The following code:
import java.io.File;
import java.io.IOException;
import javax.security.auth.login.LoginException;
import org.fbot.Fbot;
import org.wikipedia.Wiki;
public class FileUploadTest
{
public static void main(String[] args) throws IOException, LoginException
{
Wiki wiki = new Wiki("commons.wikimedia.org");
Fbot.guiLogin(wiki);
wiki.upload(new File("t.png"), "Testing Symbols.png", "∑∑ƒ∂ß", "∑∑ƒ∂ß");
}
}
results in some very strange output on the file description page and edit
summary after file finishes uploading. As far as I can tell, this an encoding
issue. Can this be fixed?
Original issue reported on code.google.com by alec.b...@gmail.com
on 21 Sep 2012 at 5:11
GoogleCodeExporter commented
This issue was closed by revision r93.
Original comment by stop.squark
on 28 Sep 2012 at 12:36
- Changed state: Fixed