Textpad shows non-printable charater(hex 02) in different way going from windows 7 to windows 10 - textpad

With the same version of TextPad the look is different. It would be very convinient with the same display of the hex "02" character in windows 10.
I would like to know why this is changed, and even better how to get the same look in windows 10 as in windows 7.
The character after the string THIS_PERIOD is displayed as special sign, easy to see in the file, but in windows 10 this is a space.

Related

Character restriction at grep in Adobe Indesign CC 2014 on Windows

When I use the grep functionality in Indesign CC 2014 on Windows it doesn't return the same amount of results.
It only happens on Windows in the latest version of Indesign.
For example:
when i use the grep <fn>[^<]+</fn> on windows it wil find <fn>lorem ipsum</fn>, but it refuses to find any text between the fn-tags that is larger then 1024 characters (i think it is 1024 but i am not sure).
Is anyone experiencing the same problem or even have a solution for it?
Thanks!
Yes, that's the case in ID CC 2014.1 (WIN) as well.
However, it doesn't seem to be related to the number of characters, but to the number of paragraphs. If the search's result spanned two or more paragraphs, InDesign doesn't find the string reliably any more.

Why all my right to left letters have been corrupted

I have web application solutions , some pages contain arabic letters ,After moving the solutions to another pc , all the arabic letters converted to corrupted letters ,something like that :
ÈíÇäÇÊ ÇáØÇáÈ
How to fix this problem ?
It's not corrupted. VS.NET based on the current culture of the OS (windows-1256), shows those letters correctly. If the regional settings of the new system is not configured for windows-1256, you will see the above letters. You have 2 options here:
Change the regional settings of the windows to Arabic (Windows-1256)
Or convert your files to UTF-8 with signature this way:
FixWindows1256
string data = File.ReadAllText(path, Encoding.GetEncoding("windows-1256"));
File.WriteAllText(path, data, Encoding.UTF8);

How to type the Hash Key?

I've just started programming in R and have discovered you make comments by using #.
I've never been too concerned with this key as I normally program using Matlab or C++.
I'm using Windows 8 on a Macbook Pro so the keyboard doesn't have a designated # key and the shortcut for an apple keyboard for the # key (which is alt+3) doesn't work.
I haven't been about to find a solution for this. Thanks.
On an Apple Keyboard, whilst using a third-party OS such as Windows, you type the # symbol by pressing the 2nd Alt key + 3.
The first (left hand side) Alt key doesn't have a shortcut function.
This applies to all programs (Visual Studio, R, Word etc).
When using Windows the keyboard reverts to a standard Windows keyboard layout, which is different from the Mac layout for some keys. So the hash key is mapped to what is marked as the backslash key \, to the left of the return, and the # key is mapped to the double inverted comma.
I've got an Apple "Magic Keyboard" on UK settings and can get the hash symbol by holding Command and pressing the Backslash key
I'm using Ubuntu Xfce on a Macbook, and none of the above answers helped me at all. Then I found I could type a hash character using SHIFT + RIGHT ALT + = twice. It makes sense, because a hash character looks like two '+' signs.
The RIGHT ALT key is listed in my Settings -> Keyboard -> Layout as the 'Compose Key', so if it doesn't work, check what your Compose Key is and try that.

Do Any Compilers Generate Hex Intel Recs w/ Lowercase Hex Letters?

Just curious: working on a Intel hex record file parser w/ an ASCII conversion. My compiler generates its Intel hex records with capitalized letters for hex fields. Do some compilers generate their records w/ lowercase hex values?
:10001000C4BC5F563E678745456679D421234556F8
vs.
:10001000c4bc5f563e678745456679d421234556f8
The standard only uses capitalized letters, but since it doesn't seem to specifically prohibit lowercasae, I'm guessing some compilers might.
If you're working on Linux or some Unix system, you can always make the transformation yourself using a tool like tr. For example, see sed one-liner to convert all uppercase to lowercase?
If you're on Windows, you can find a working tr in msys (you may even have it already if you're using TortoiseGit, for example).

paste character limit [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Why and where are \n newline characters getting introduced to c()?
I am running R (version 2.15.1) in a bash shell (version 4.2.36(1)) in the GNOME terminal (version 3.4.1.1). Sometimes I write my code in a text file and then paste it directly into the console (when running R). I didn't have any problems until the scripts I was pasting grew in length. Now, it appears that any code greater than 4206 characters (including \n) is rejected (i.e., the first 4206 characters are accepted and the remaining code is truncated; the truncation is accompanied by the terminal "bell" sound). This character limit is not specific to bash or GNOME terminal because I do not observe a character limit when pasting into e.g., vi. Therefore, I suspect that the character limit is imposed by R, but do not know how to change it, assuming it is a user-configurable parameter. Can the paste limit be changed and if so, what parameter governs it?
It looks like you're running into a known limitation of the console. As it says in Section 1.8 - R commands, case sensitivity, etc. of An Introduction to R:
Command lines entered at the console are limited[3] to about 4095 bytes (not characters).
[3] some of the consoles will not allow you to enter more, and amongst those which do some will silently discard the excess and some will use it as the start of the next line.
Either put the command in a file and source it, or break the code into multiple lines by inserting your own newlines at appropriate points (between commas).
The value is hard-coded in src/include/Defn.h : #define CONSOLE_BUFFER_SIZE 4096, so you would need to recompile R to change it.

Resources