Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit d963496

Browse files
fixes MicrosoftDocs/sql-docs/issues/4913 -- confusing sentence
1 parent 5e9b5e2 commit d963496

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/odbc/reference/develop-app/unicode-function-arguments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.author: v-daenge
1818
The ODBC 3.5 (or higher) Driver Manager supports both ANSI and Unicode versions of all functions that accept pointers to character strings or SQLPOINTER in their arguments. The Unicode functions are implemented as functions (with a suffix of *W*), not as macros. The ANSI functions (which can be called with or without a suffix of *A*) are identical to the current ODBC API functions.
1919

2020
## Remarks
21-
Unicode functions that always return or take strings or length arguments are passed as count-of-characters. For functions that return length information for server data, the display size and precision are described in number of characters. When a length (transfer size of the data) could refer to string or nonstring data, the length is described in octet lengths. For example, **SQLGetInfoW** will still take the length as count-of-bytes, but **SQLExecDirectW** will use count-of-characters.
21+
For Unicode functions that always return or take strings or length arguments, the arguments are passed as count-of-characters. For functions that return length information for server data, the display size and precision are described in number of characters. When a length (transfer size of the data) could refer to string or nonstring data, the length is described in octet lengths. For example, **SQLGetInfoW** will still take the length as count-of-bytes, but **SQLExecDirectW** will use count-of-characters.
2222

2323
Count-of-characters refers to the number of bytes (octets) for ANSI functions and the number of WCHAR (16-bit words) for UNICODE functions. In particular, a double-byte character sequence (DBCS) or a multibyte character sequence (MBCS) can be composed of multiple bytes. A UTF-16 Unicode character sequence can be composed of multiple WCHARs.
2424

0 commit comments

Comments
 (0)