i know there is many types of encode and decode and from what i have read, base64 is a great choice when it comes to encode binary file (image, mp3, video).

Now, when it comes to decode, i will need to convert from the base64 and then get the string value. the process to get the string after decode, i will require to do like this (in c#): `System.Text.Encoding.ASCII.GetString(encodedDataAsBytes);`

here i noticed that i have several choices on what to use to get the string, such as ASCII, UNICODE, DEFAULT.

the real question in this post is if im using java to encode and c# to decode the binary file, what is the best solution/choice should i use? i have tried several method and some of the character could not be read thus gives out question mark symbol (?).

however, the most closer encode decode that could be read the byte is when im using this in Java: `String encoded = Base64.encodeToString(fileData, Base64.CRLF);` meanwhile in c# im using like this: `byte[] encodedDataAsBytes = System.Convert.FromBase64String(encodedData);
 string returnValue = System.Text.Encoding.ASCII.GetString(encodedDataAsBytes);`

Still, there are several character that cannot be read. Does anyone have solution for this problem statement? any feedback is much appreciated. thanks for advance.