Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

Unicode breaks websocket connection

Solved1.20K views31st March 2022Unicode WebSocket
4
Maxim Bouckaert [SLC] [DevOps Member]169 28th March 2022 0 Comments

Hey Dojo-community

I have a driver where we need to support Unicode characters.
As there is a WebSocket implemented, we use the connections tag and the type tag is omitted.

To set the protocol to Unicode I use the following:

<Options>
<Encoding>unicode</Encoding>
</Options>

When adding this tag, the WebSocket seems to respond differently then before.
We lay subscriptions on certain parameters, for which it previously updated us with the message with the state of that parameter. Now it just sends us an empty message.

To subscribe to certain events we use the following pair/command:

<Pair id=”1″>
<Name>Subscribe</Name>
<Description>Subscribe</Description>
<Content>
<Command>1</Command>
</Content>
</Pair>

<Command id=”1″ ascii=”true”>
<Name>Subscribe</Name>
<Description>Subscribe</Description>
<WebSocketMessageType>text</WebSocketMessageType>
<Content>
<Param>45</Param>
</Content>
</Command>

Just to be sure I already tried removing the ascii=”true” to no avail.

Is there something else I have to take into account when switching to unicode?

Maxim Bouckaert [SLC] [DevOps Member] Selected answer as best 31st March 2022

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Maxim Bouckaert [SLC] [DevOps Member]169 Posted 31st March 2022 0 Comments

Found out this is a software issue.
Software is currently working on a solution for this problem.

progress can be tracked under this task:
https://collaboration.dataminer.services/task/181931

Maxim Bouckaert [SLC] [DevOps Member] Selected answer as best 31st March 2022
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs