From 0d7ada19cf74df583b61bdcff22618bc4a8ea62d Mon Sep 17 00:00:00 2001 From: Nick Berard Date: Mon, 20 Aug 2007 04:29:02 +0000 Subject: [PATCH] - Added note that STOP is the default mode - Small corrections git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@241621 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/unicode-set-error-mode.xml | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/reference/unicode/functions/unicode-set-error-mode.xml b/reference/unicode/functions/unicode-set-error-mode.xml index 66bd8b37ae..420b4bec81 100644 --- a/reference/unicode/functions/unicode-set-error-mode.xml +++ b/reference/unicode/functions/unicode-set-error-mode.xml @@ -1,9 +1,9 @@ - + unicode_set_error_mode - Set the error mode for Unicode conversions + Set the error mode for strings conversions @@ -14,9 +14,10 @@ intmode - This function sets the error mode for string conversions. An error can occur - during conversion when an illegal character is encountered or if a character - cannot be represented into the new encoding. + This function sets the error mode for string conversions between different + encodings. An error can occur during conversion when an illegal character + is encountered or if a character cannot be represented into the new encoding. + By default, when an error is encountered, the conversion stops. @@ -30,11 +31,10 @@ The direction sets the conversion direction to which the error mode will apply. This can either be - FROM_UNICODE, which will set - the error mode for conversions from a unicode string to a - binary string in another encoding or TO_UNICODE, - which will set the error mode for conversions from a binary string to an - unicode string. + FROM_UNICODE, which will set the error mode for + conversions from a unicode string to a binary string + or TO_UNICODE, which will set the error mode + for conversions from a binary string to a unicode string. @@ -61,7 +61,7 @@ U_CONV_ERROR_STOP - Stop the conversion. + Stop the conversion. This is the default mode.