XML Feeds

.

[java-dev] Re: String encoding Problem

camille bodart camille at artpointm.com
Wed Jun 27 02:39:48 MDT 2007


Léopold Frey wrote:
> Hi Camille,
>
> the problem is not in NET.TCP.SEND but in the mxj object.
>
> think you'll be interested by this thread :
>
> http://www.cycling74.com/forums/index.php?t=msg&th=26758&start=0&rid=0&S=d7220001cb905a43a508e1cd994f47ca
>
> l?o
> _______________________________________________
> java-dev mailing list
> java-dev at cycling74.com
> http://www.cycling74.com/mailman/listinfo/java-dev
>
>
>   
hi L?o

i'have already read this thread.
i found a solution to display right characters in the Max console with  
the String method  :

public void anything(String s, Atom[] a) {
		try{
		encodedString = new String(s.getBytes("ISO-8859-1"),"MacRoman");
		}catch(Exception e){
		post("error");
		}

		post(encodedString);
		}

but always have strange characters from NET.TCP.RECV 



More information about the java-dev mailing list