Comments (3)
@alexanderankin Gave it a shot with PowerShell and got different results. Looks to be similar, but with a different character set.
PS C:\Users\User\Downloads\mqtt-cli-4.7.3-win> chcp 65001
Active code page: 65001
PS C:\Users\User\Downloads\mqtt-cli-4.7.3-win> .\mqtt-cli.exe
�[1mUsage:�[21m�[0m �[1m�[33mmqtt�[39m�[21m�[0m [�[3m�[33m-hV�[39m�[23m�[0m] { pub | sub | shell | test | hivemq }
MQTT Command Line Interpreter.
�[1mOptions:�[21m�[0m
�[3m�[33m-h�[39m�[23m�[0m, �[3m�[33m--help�[39m�[23m�[0m Show this help message and exit.
�[3m�[33m-V�[39m�[23m�[0m, �[3m�[33m--version�[39m�[23m�[0m Print version information and exit.
�[1mCommands:�[21m�[0m
�[1m�[33mpub�[39m�[21m�[0m, �[1m�[33mpublish�[39m�[21m�[0m Publish a message to a list of topics.
�[1m�[33msub�[39m�[21m�[0m, �[1m�[33msubscribe�[39m�[21m�[0m Subscribe an MQTT client to a list of topics.
�[1m�[33mshell�[39m�[21m�[0m, �[1m�[33msh�[39m�[21m�[0m Starts MqttCLI in shell mode, to enable interactive mode with further sub commands.
�[1m�[33mtest�[39m�[21m�[0m Tests the specified broker on different MQTT feature support and prints the results
�[1m�[33mhivemq�[39m�[21m�[0m HiveMQ Command Line Interpreter.
�[1m�[33mswarm�[39m�[21m�[0m HiveMQ Swarm Command Line Interpreter.
However, if I right click on the folder (Explorer) and then select the option to "Open In Terminal" it opens up a PowerShell terminal and there's zero gibberish output when running it from that perspective. I have no idea what is different with the terminal offered in that way then what PowerShell or CMD.exe are doing on their own.
from mqtt-cli.
I got the same output as above.
I installed mqtt-cli version 4.8.2-win and os is win11.
Java version:
openjdk 16.0.2 2021-07-20
OpenJDK Runtime Environment Temurin-16.0.2+7 (build 16.0.2+7)
OpenJDK 64-Bit Server VM Temurin-16.0.2+7 (build 16.0.2+7, mixed mode, sharing)
from mqtt-cli.
does the issue persist when you reset your terminal to use utf8 encoding?
how to do that
on windows the command is described here, though if you are not on powershell, you will probably have to type chcp
then press <Tab>
to see the right completion (maybe .com
? - dont remember off hand), and then a space, followed by the unicode code 65001
. on powershell, chcp 65001
should work.
from mqtt-cli.
Related Issues (20)
- -l option doesn't work for con/connect command HOT 3
- Unable to read client key file HOT 1
- Add possibility to send an empty payload HOT 2
- Can't connect to AWS IoT Core broker HOT 6
- Error while running mqtt swarm on uBuntu 18.04 HOT 2
- Can't install deb package on systems with a headless jre HOT 1
- Use private key in DER format HOT 1
- Can't pipe to `head`
- Problems using secure connection HOT 1
- Cannot connect to AWS IoT core: "Exception while decoding CONNACK: remaining length too short" HOT 1
- Allow publish with empty payload to delete a retained message
- PUBACK missing in debug/verbose mode
- Unable to run on Windows - JRE 1.8 required HOT 1
- GraalVM Native Image in addition to runnable jar HOT 1
- Tests red, on local source code build HOT 3
- Test Command: username/password from config.properties ignored HOT 1
- Print topic for incoming messages HOT 1
- Link points to the oldest version HOT 1
- Unknown option: '--ws' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt-cli.