Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[deleted]

Featured Replies

Only happens on Vista. I know, their notepad is broken.

Only happens on Vista. I know, their notepad is broken.

Happens on all unicode versions of notepad :)

And in Notepad2 too. :lol:

Which is pretty easy to understand since I think it uses the same APIs as windows's notepad to display text.

Oh, this doesn't happens anymore in Notepad2!

Hum, what is XVI32 doing in my taskbar ?

Also,

tiger.PNG

:P

And this never happens in Notepad++ which can also be used to restore your text. ;)

PS: notepad2 doesn't use the same API than windows's notepad. That was a Big mistake.

Edited by Camarade_Tux

This specific sequence should be a header. Right ?
Yes, Unicode text files should have FFFE as the first word. The programmer forgot to add a check for that, and instead assumed Unicode.
Hahaha, thats a great find ! :)

Indeed it is great find and strange too :thumbup

heh, that's strange.

it's not a problem with the API itself though, because i use that same API in another app and it handles the file like normal.

Thanks to a problem with an AutoHotKey script I think I found some explanations.

The FF FE sequence is used to determine the endianness of the file. It is a BOM.

If you read wikipedia's articles you know endianness is hardware-dependent.

Now, do you think Notepad, Notepad2... could run on something else than little-endian machines such as Intel's processors ?

So there is no need to bother with "FF FE", it will always be little-endian.

Then, Notepad++ is based on ScinTilla, and ScinTilla can run on win32 and machines that support GTK+. So it can include big-endian machines. Thus, it needs this FF FE string.

If you try to open a unicode text file created on a machine with a SPARC processor (SunOS) with Notepad/Notepad2, you will probably have troubles reading it. :)

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.