# ADO.net Provider for Access and Charset

**URL:** <https://community.cdata.com/t/ado-net-provider-for-access-and-charset/1117>\
**Category:** CData Drivers\
**Tags:** access-db, question, ado.net, charset\
**Created:** [June 23, 2025, 1:45pm UTC](https://community.cdata.com/t/ado-net-provider-for-access-and-charset/1117 "2025-06-23T13:45:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mortensp](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Mortensp](https://community.cdata.com/u/Mortensp)\
**Post date:** [June 23, 2025, 1:46pm UTC](https://community.cdata.com/t/ado-net-provider-for-access-and-charset/1117/1 "2025-06-23T13:46:15Z")

</div>

I can’t get the connection string to work with charset ie.

DataSource=myaccesdb; **Charset=windows-1252** ;

The connection is fine, but Charset has no effect. Has anyone solved this?

---

<div class="post-metadata">

**Author:** ![Ethem\_Q](https://sea3.discourse-cdn.com/cdata/user_avatar/community.cdata.com/ethem_q/32/1997_2.png) [@Ethem\_Q](https://community.cdata.com/u/Ethem_Q)\
**Post date:** [June 23, 2025, 2:55pm UTC](https://community.cdata.com/t/ado-net-provider-for-access-and-charset/1117/2 "2025-06-23T14:55:09Z")

</div>

Hi ​ @Mortensp

The Charset property is not a visible connection configuration that is why it will not work the way you have defined it.&nbsp;You can use our Charset connection property by passing it in the **Other** &nbsp;property, in order to use a different encoding with the driver.

_Other=Charset=windows-1252_

Kindly give this a try and let us know if it works.

---

<div class="post-metadata">

**Author:** ![Mortensp](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@Mortensp](https://community.cdata.com/u/Mortensp)\
**Post date:** [June 23, 2025, 3:17pm UTC](https://community.cdata.com/t/ado-net-provider-for-access-and-charset/1117/3 "2025-06-23T15:17:23Z")

</div>

If I’ve&nbsp;understud you right my connection string should be:

string connectionString = @“DataSource=.\BMDB\_Section\_1222.bws; **Other=Charset=Windows-1252** ”;

That doesn’t work either. And Charset is not listet as an option on Other i the documentation

---

<div class="post-metadata">

**Author:** ![Ethem\_Q](https://sea3.discourse-cdn.com/cdata/user_avatar/community.cdata.com/ethem_q/32/1997_2.png) [@Ethem\_Q](https://community.cdata.com/u/Ethem_Q)\
**Post date:** [June 23, 2025, 3:56pm UTC](https://community.cdata.com/t/ado-net-provider-for-access-and-charset/1117/4 "2025-06-23T15:56:21Z")

</div>

​ @Mortensp

That’s odd. Normally setting&nbsp;Charset=ISO-8859-1 or Charset=Windows-1252 should resolve any issues with encoding. Would you be able to provide more information about the use case here? Is the access file a non-Unicode or does it only contain some characters in it’s content with different encoding?

On the second point, not all hidden connection properties are included in the documentation. However to get a list of the hidden connection properties you can run a query as follows:

_SELECT \* FROM sys\_connection\_props WHERE Visible=False_

 ![52072cec-fe64-492c-bbc2-ddb7f5ab4a71.png](https://us1.discourse-cdn.com/cdata/original/2X/c/cba0b6b8fbe8cafb5e3753eada9a9ac165b2b58b.png)

You might want to submit a support ticket in the CData portal and include any relevant details so that one of our support specialists can look into the matter and provide next steps.
