Anyone else having issues with Windows 10 and UTF-8 encoding in nShift?

So I’ve been running into some weird errors with nShift on Windows 10, and I think it’s because of the UTF-8 encoding setting. Has anyone else had this issue? My headers are all messed up, and I keep getting strange error messages.

Yeah, I had the same problem a while ago. The issue is probably that ‘Beta: Use Unicode UTF-8 for worldwide language support’ setting in Windows. If that’s turned on, it can mess up nShift’s encoding.

Fifer said:
Yeah, I had the same problem a while ago. The issue is probably that ‘Beta: Use Unicode UTF-8 for worldwide language support’ setting in Windows. If that’s turned on, it can mess up nShift’s encoding.

That makes sense. I’ve got stuff like ‘city_receiver’ showing up instead of ‘City Receiver.’ Do you know how to fix it?

@Ari
Yep, you’ll need to turn off that UTF-8 setting. Go to Control Panel > Region > Administrative tab, and then click ‘Change system locale.’ Uncheck the box next to ‘Beta: Use Unicode UTF-8 for worldwide language support,’ and restart your computer. That should fix the weird headers and errors.

@Ari
Thanks! I’ll give that a shot. What about the other errors, like ‘Could not convert variant of type (UnicodeString) into type (Integer)’? Is that part of the same issue?

Ari said:
@Ari
Thanks! I’ll give that a shot. What about the other errors, like ‘Could not convert variant of type (UnicodeString) into type (Integer)’? Is that part of the same issue?

Yeah, it’s all related. That error happens because nShift can’t handle the Unicode setting properly. Turning off UTF-8 should clear that up too.

I had a similar issue where my labels printed with weird fonts and characters. Turns out the UTF-8 setting was causing it, but also, missing printer fonts made it worse. There’s an article about that issue too if you’re still having problems after fixing the encoding.

@Oli
Good to know. I had weird label prints too, but I didn’t think about the fonts. Thanks for the tip. Do you have a link to that article?

Rayne said:
@Oli
Good to know. I had weird label prints too, but I didn’t think about the fonts. Thanks for the tip. Do you have a link to that article?

I don’t have the exact link, but if you search for skewed prints and missing characters in nShift’s knowledge base, you should find it. It goes over how to install the correct printer fonts.

If turning off UTF-8 doesn’t solve it, make sure to delete the Consignor folder under AppData too. That’s located at C:\Users<username>\AppData\Roaming\EDI-Soft\Consignor. After that, nShift will regenerate the files with the correct encoding when you reopen it.

@Eli
Ah, I didn’t think about the AppData folder. I’ll try deleting that too if I’m still having issues. Thanks for the heads-up!

I had the same ‘Range check error’ when linking an address from the Contact List. Disabling UTF-8 fixed it immediately. Seems like this setting causes all sorts of issues with nShift.

Addison said:
I had the same ‘Range check error’ when linking an address from the Contact List. Disabling UTF-8 fixed it immediately. Seems like this setting causes all sorts of issues with nShift.

Yeah, it’s wild how one setting can mess up so many things. Glad to know that disabling it works across the board.

Thanks this worked for me