Message édité par bartleby le 16-10-2003 à 17:10:37
Publicité
Posté le 16-10-2003 à 17:04:47
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 16-10-2003 à 17:08:55
La javadoc, tu connais ?
Citation :
public byte[] getBytes(String charsetName)
throws UnsupportedEncodingException
Encodes this String into a sequence of bytes using the named charset, storing the result into a new byte array.
The behavior of this method when this string cannot be encoded in the given charset is unspecified. The CharsetEncoder class should be used when more control over the encoding process is required.
Parameters:
charsetName - the name of a supported charset Returns:
The resultant byte array Throws:
UnsupportedEncodingException - If the named charset is not supported
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.
bartleby
Posté le 16-10-2003 à 17:11:37
Hm, je connais la JavaDoc, plutot bien meme.
Mais parfois, le probleme est tellement evident qu'on le voit pas....
Désolé pour une questionn aussi stupide...
Taiche
(╯°□°)╯︵ ┻━┻
Posté le 16-10-2003 à 17:12:16
C'est pas grave Bon courage pour la suite
---------------
Everyone thinks of changing the world, but no one thinks of changing himself | It is the peculiar quality of a fool to perceive the faults of others and to forget his own | Early clumsiness is not a verdict, it’s an essential ingredient.