Le 26/05/2014 09:51, Howard Chu a écrit :Nicolas wrote:Hello, (including others users reply) I just found one thing (obviously, you know it, not me...): - When a result containing specials caracters and when I use "-t" switch, my result is sent to a file under /tmp folder : the result is well-readable, with every accent everywhere they should be : it fits me. - When a result containing specials caracters and when I don't use "-t" switch, the result is base64 encoded. So, I have 2 solutions : - Read the /tmp/*.file and export the content to my scripts variable, but I can't guess the name of this file : for example, there's the name of a company's user search : "ldapsearch-company-8K2vOo" - Decode the result wich was base64 encoded, but I can't guess if the result will contain special caracter or not. And if i decode a string wich doesn't contain special caracters, it crashes, telling me it's not base64 content... What must I do ? Thanks a lot guys Nicolas |