On Mon, Feb 19, 2018 at 04:17:26PM +0100, Bernhard Kleine wrote: > The UTF8 table at > http://www.utf8-zeichentabelle.de/unicode-utf8-table.pl?start=8592 shows > this first four lines. > > Unicode > Codepos. Zeichen UTF-8 > (hex.) Name > U+2190 ← e2 86 90 LEFTWARDS ARROW > U+2191 ↑ e2 86 91 UPWARDS ARROW > U+2192 → e2 86 92 RIGHTWARDS ARROW > U+2193 ↓ e2 86 93 DOWNWARDS ARROW > > When I tried to change a utf8 hex value in a simple doc, using > Ctrl-Shift-X, I get: > > (not a valid hexadecimal sequence to change) > > I also tried the 0x1F926 from Bens example below. The same error. What > do I wrong?
The face palm character probably isn't a good thing for you to test with since it's technically an emoji and is from one of the upper planes (it's near the end of the second plane out of 17). Your characters are all in the first plane and, prior to the popularisation of emojis, that's where all the action usually is. > These arrows would be a good example since they will be used. Use the four character hexadecimal value of the code point without either a leading "U+" or a leading "0x" if you are doing this in oXygen, but it does need to be four characters, there must be a space before it and the cursor needs to be immediately adjacent to the end of it. So for the leftwards arrow you would enter 2190 and then, with the cursor next to the 0 (as it would be if you'd just typed it), press the key sequence to convert to UTF-8 and it'll do it. getting unum.pl to display it would be: bash-4.4$ unum.pl 0x2190 Octal Decimal Hex HTML Character Unicode 020620 8592 0x2190 ←,←,←,←,← "←" LEFTWARDS ARROW bash-4.4$ Note that that's offset too far because there are multiple methods of displaying it in HTML (which is why tests with arrows aren't always the best after all, but you did want this). LibreOffice uses either a compose special characters hotkey or menu with options on what the hotkey actually dows. I have it configured to let me enter the hexadecimal directly. It will provide the same range of characters as oXygenXML except I press the hotkey first and then enter the four characters. As with oXygen I must enter all four characters. Most other programs are the same as LibreOffice in that regard, including the IRC client hexchat. Emacs shares some similarity with those programs in that I invoke the conversion function first and then enter the hexadecimal character without the leading "0x" or "U+" but I only have to enter the hex value and I can enter from one to six characters. So if I wanted to create a u with an umlaut (i.e. this little character: ü) then I only need to press my key binding (F8) and then enter fc; whereas in oXygenXML, LibreOffice, Hexchat and most other programs I would have needed to enter 00fc. This sort of thing, however, is why I started keeping a cheat sheet in the first place. Regards, Ben
Description: PGP signature
_______________________________________________ oXygen-user mailing list oXygenemail@example.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user