--- title: "getSendStringParametersAsUnicode Method (SQLServerDataSource) | Microsoft Docs" ms.custom: "" ms.date: "01/19/2017" ms.prod: "sql" ms.prod_service: "drivers" ms.service: "" ms.component: "jdbc" ms.reviewer: "" ms.suite: "sql" ms.technology: - "drivers" ms.tgt_pltfrm: "" ms.topic: "article" apiname: - "SQLServerDataSource.getSendStringParametersAsUnicode" apilocation: - "sqljdbc.jar" apitype: "Assembly" ms.assetid: 3836d0ab-c3fb-41ff-bb89-10389594ae51 caps.latest.revision: 15 author: "MightyPen" ms.author: "genemi" manager: craigg ms.workload: "Inactive" --- # getSendStringParametersAsUnicode Method (SQLServerDataSource) [!INCLUDE[Driver_JDBC_Download](../../../includes/driver_jdbc_download.md)] Returns a **boolean** value that indicates if sending string parameters to the server in UNICODE format is enabled. ## Syntax ``` public boolean getSendStringParametersAsUnicode() ``` ## Return Value **true** if string parameters are sent to the server in UNICODE format. Otherwise, **false**. ## Remarks If the sendStringParametersAsUnicode property is set to **true**, which is the default value, string parameters are sent to the server in UNICODE format. If sendStringParametersAsUnicode is set to **false**, string parameters are sent to the server in an ASCII/MBCS format, not in UNICODE. If sendStringParametersAsUnicode is not set, getSendStringParametersAsUnicode returns the default value of **true**. For more information about the sendStringParametersAsUnicode connection property, see [Setting the Connection Properties](../../../connect/jdbc/setting-the-connection-properties.md). ## See Also [SQLServerDataSource Members](../../../connect/jdbc/reference/sqlserverdatasource-members.md) [SQLServerDataSource Class](../../../connect/jdbc/reference/sqlserverdatasource-class.md)