What is the appropriate way to get symbols to publish correctly in a Rich Text field. For example, We are trying to the the registered trade mark symbol to show, but it always ends up with an extra  in front of it, like this: .®.
WE tried ®, but that gives the same result. This sounds like a code page issue, but everything appers to be UTF-8? Any ideas?
This seems to be an encoding issue. When you say "everything appears to be UTF-8", is the encoding set on your page declaration? There are several other places to check for this. Have a look through Elena's post about how to resolve encoding issues: http://elenaserghie.blogspot.ca/2012/01/7-clues-to-solve-character-encoding.html
Related
When following a link from the Google search page, I often see the most relevant part of the page highlighted like so:
Looking at the URL, I see bits of the highlighted text appear after the #:~:text= anchor (hash, colon, tilde, colon, text - in case someone is trying to Google this question):
https://ru.wikipedia.org/wiki/%D0%A4%D0%B0%D0%BC%D0%B8%D0%BB%D1%8C%D0%BD%D0%B0%D1%8F_%D0%BF%D1%80%D0%B8%D1%81%D1%82%D0%B0%D0%B2%D0%BA%D0%B0#:~:text=%D0%BF%D0%B0%D0%BB%D0%BE%D0%BC%D0%BD%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2%D0%BE%20%D0%B2%20%D0%9C%D0%B5%D0%BA%D0%BA%D1%83-,%D0%90%D1%80%D0%BC%D0%B5%D0%BD%D0%B8%D1%8F,%D1%8F%D0%B2%D0%BB%D1%8F%D0%BB%D1%81%D1%8F%20%D1%81%D1%8B%D0%BD%D0%BE%D0%BC%20%D0%B8%D0%BB%D0%B8%20%D0%BF%D0%BE%D1%82%D0%BE%D0%BC%D0%BA%D0%BE%D0%BC%20%D1%81%D0%B2%D1%8F%D1%89%D0%B5%D0%BD%D0%BD%D0%B8%D0%BA%D0%B0
Is this notation (#:~:text=) Wikipedia-specific or is it a more standard way of highlighting text on a web page? Where can I read up on this? So far my google-fu has failed me.
When I'm writing Docstrings in Python3, I'm ending all of my sentences with periods and I see an autocomplete suggestion like this:
In this case it wants to replace the string "wager." with "wagerself."
If I press Enter or Tab the string replaces. I've messed around with all the logical buttons (Including adding an extra space which doesn't work), and nothing will allow me on my merry way to a newline.
This problem occurs both with and without the autocomplete-python package installed.
I do want to use auto-complete when I type a dot after an object, just not in the comments.
Is there a way to either:
Dismiss the autocomplete suggestion as they come up.
-- or --
Change the autocomplete to be aware of the context, i.e. not autocomplete dots when I'm in a string/comment.
From experimenting with different key combos, ctrl + enter will ignore the suggestion and allow you to go to the next line without altering what you've typed.
I haven't found any documentation around this, so I'm not sure if there's a similar key combo for tab or not. I couldn't find anything myself beyond alt + tabing to lose focus, which causes the suggestion to go away, then alt + tabing back to hit tab, which obviously isn't ideal.
I'm using Atom 1.44.0 on Windows and have found that shift + enter works to dismiss an autocomplete suggestion. No luck with tab on this platform though.
I use atom extensively, and have found that a quick left-right cursor move will leave the typed text in place and will NOT reactivate the suggestion list, unless more characters are typed. You can then type and move on to the next line.
I was actually searching myself for a way to exclude "then" from the autocomplete action, because I have text in other locations that has it as a commented "Then". I was hoping to find a way to exclude that word completely, but thought to share my work-around for that little bit, instead.
I am having the same problem where my text is getting replaced with cached words where if I wanted to type “manage” but if I have used “management “ before, I will get the text what I don’t want if I press enter. I went into preferences and followed the same steps mentioned in the below article and once the preferences are changed, I don’t see the word suggestions anymore. I felt so relieved.
https://elearning.wsldp.com/pcmagazine/disable-code-hints-atom-editor/
I'm having a very weird problem with one of the websites I've built. It appears on Internet Explorer on Windows, and Firefox on Mac as far as I know, perhaps other configurations as well. It concerns the Swedish characters å ä ö.
On this page: http://www.h2.se/case/kyleffekt/, the characters are being displayed properly. However on this page: http://www.h2.se/case/sun-flex/, it is not.
Screenshots for reference:
First page (working): http://i.imgur.com/JSbXKsC.png
Second page (broken): http://i.imgur.com/TKsY9hT.png
I am using Open Sans located on the Google Fonts service, and I'm also using Omnes-Pro for headlines through Typekit.
The page is built in WordPress, not sure if that matters.
Has anyone ever come across this problem before? I've seen it mentioned in a few places online but no one has ever posted a solution or indeed the cause of this seemingly weird glitch. I've tried looking at the HTTP headers for the pages but I can't find anything.
The weirdest part of it all, is that it works on one page but not the other, and only in specific browsers.
That’s because in the one document, you have the actual ö character, whereas in the other you have an o followed by the Unicode sequence for “put umlaut dots on the previous character” – and not all browser handle that equally well. (I often see this happening, when content is copied into an HTML document from different sources – like with PDFs on a Mac it happens regularly.)
Unicode equivalence would be the keyword here, resp. Unicode normalization, if you intend on doing something about it using your application logic. (If you just want to get this work work for the document in question, then you’re probably better off by just re-typing those characters in your editor.)
This just happened to me and I solved it quickly with the plugin Better Search Replace.
Copy a "corrupt" character, for example Å, Ä and Ö, from the WP editor while using Firefox.
Paste the "corrupt" character in the "Search for" field in Better Search Replace
Type the "correct" character in the "Replace with" field by just hitting the button on the keyword.
Execute search & replace
Do the same thing får all "corrupt" characters.
This way, you don't have to do ther time consuming and boring job manually. Worked perfect for me just now.
The plugin: https://sv.wordpress.org/plugins/better-search-replace/
I'm using Data Dynamics Active Reports to generate some reports on our website.
Action: User runs a report on user accounts (this contains an email field) and Exports to an excel file.
Issue: If the email is relatively long, extra white space is added in the field.
Has anyone else had this problem? If so, what did you do to fix it?
Here, I found a solution to hide blank sub report space:
Add group header and footer
Check the condition
Make Group header or footer visible false/true
After some research with DataDynamics and GrapCity I found that this is a known bug they are working on Case 00023478.
To work around it I made the TextBox larger that the email fields were bound to. It's a sucky work around but it's all we have until they fix this issue.
The issue has to do with wrapped text in a texbox that forces line breaks in the excel export.
EDIT:
The better, but still sucky, workaround is to make all of your textboxes alignment "Justify". This removes all the spaces from the text on export to excel no matter what size the box, but everything is now justified...
I would like to display links that are pasted in as links rather than text but freetextbox does not seem to do this. For instance, if somebody pastes in http://www.stackoverflow.com it looks like a link but shows up only as text. Do I need to convert this myself or is there a setting in the editor to take care of this?
It depends. In most cases, you need to convert it yourself. Sometimes when you copy a link you are actually getting a link and not just the text. But yes, you'll have to get your hands dirty here.