A
A
Artyom2018-04-13 17:14:44
XML
Artyom, 2018-04-13 17:14:44

How to implement non-breaking space in .plist?

Greetings.
Remembering the PressAndHold function on Mac OS, I wanted to customize the keys for myself by editing Keyboard-ru.plist and Keyboard-en.plist. To be more precise, I wanted to put on a certain key not just a special character or a single word, but a phrase in its usual form (separated by a space). But no matter how I tried to connect the words with a non-breaking space (through the indication of "& # 160;" in the code, or simply through a special character), nothing worked. The connection of words is easily realized through some kind of underlining,
5ad0b6ba84531871711813.png

<?xml version="1.0" encoding="UTF-8"?>
<key>Roman-Accent-п</key>
  <dict>
    <key>Direction</key>
    <string>right</string>
    <key>Keycaps</key>
    <string>Привет,_Тостер</string>
    <key>Strings</key>
    <string>Привет,_Тостер</string>
  </dict>

but when using any type of space, the words are simply separated.
5ad0b6fd865db824498804.png
Is it possible to somehow implement a non-breaking space in my case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artyom, 2018-04-17
Kaleev @Kaleevart

In general, who cares, I solved the problem with this symbol. https://unicode-table.com/en/2800/
And additional software TextExpander.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question