As Karpeles had initially not been formally charged for a crime, authorities could not legally detain him for more than 23 days at a time.
so what arrested for few day then went out . ?
if u ask to spend few day in jail in exchange of million of dollars i am pretty sure that most people will happily go to jail

I, for one, would gladly get fucked in the ass by the biggest, baddest black dude while cupping his balls and French kissing Leroy Fodor for a million bucks. Okay, perhaps not cupping balls unless it's for two million dollars. HAHAHAEDIT: Who keeps hijacking my account. HAHAHA
Karpeles most certainly was charged. I live in tokyo and it was in the local news. They detained him the first time then charged him with embezzlement which carries a 5 year penalty. Then about 6 weeks later they detained him again and upgraded his charges to a higher embezzlement charge because they found some proof that he spent some of the stolen money on prostitutes and hostesses. In Japan, if you embezzle money and spend it on "social endeavors" the penalty doubles to ten years.
And yes in Japan you can be detained for 23 days without charges. However, that doesn't mean sitting quietly in a cell. They won't let you sleep for days, repeatedly interrogate you demanding confessions for 12 hours at a time, use stress position tactics just like guantanamo bay, and even withhold food until you confess. Japan gets a 99% conviction rate for a reason.
http://gaijinass.com/2011/01/02/7-brutal-realities-regarding-arrest-in-japan/