Kanji encoding

Want to help out? Need help accessing the AniDB API? This is the place to ask questions.

Moderator: AniDB

Locked
Zelgadis3
Posts: 4
Joined: Thu Dec 21, 2006 12:38 am

Kanji encoding

Post by Zelgadis3 » Thu Dec 21, 2006 12:53 am

Hi, i'm developing a client and i'm having some trouble with the ANIME and EPISODE commands.
In the response, fields that should come in Kanji, return a series of question marks (??????).
I tried to decode the byte array with every encoding, but none worked.. i'm lost :?

I'm using C# 2.0, any ideas??
Thanks

epoximator
AniDB Staff
Posts: 379
Joined: Sun Nov 07, 2004 11:05 am

Post by epoximator » Thu Dec 21, 2006 9:07 am

use enc=utf8 in the auth string

Zelgadis3
Posts: 4
Joined: Thu Dec 21, 2006 12:38 am

Post by Zelgadis3 » Thu Dec 21, 2006 10:02 pm

Awesome, that did it

Thanks a lot!! :D

Locked