Pi zero w installed with Dietpi but unable to use wifi

Hello:

I loaded latest Dietpi on a pi zero w.
Did this:
Changed two .txt files with Windows word pad.

changed dietpi.txt (WIFI only):
AUTO_SETUP_NET_ETHERNET_ENABLED=0
AUTO_SETUP_NET_WIFI_ENABLED=1

changed dietpi-wifi.txt
aWIFI_SSID[0]=‘MySSID’ and aWIFI_KEY[0]=‘WifiKey’

Is there anything else that I have to make adjustments?

yes that’s how it should work (usually)

Do you use special characters on your password?

Yes, I use special characters for password.

what kind of special characters you are using?