Got it on my system also (Windows 2000)

I can only think on a bug in Notepad??


-----Original Message-----
From: Henrique VIECILI [mailto:[EMAIL PROTECTED]
Sent: dinsdag 14 september 2004 15:04
To: Struts Users Mailing List
Subject: [CURIOUS-OT] 44 bytes in notepad txt file


Hi guys,

today i was creating a single file with a single property on it and got this strange 
behavior:

1. Opened notepad.exe
2. Wrote this line: html.src.img.procura=imagens/botProcurar.gif
3. Saved the file: html.properties
4. Opened html.properties and 'voilà'... the characters were shown as black rectangles 
(!!!)

The curious thing is that if I open the file with MSWord or WordPad it show the line 
correctly, if I open with some Hex editor it shows the hex code and the correct line 
value, but in other editors like notepad and textpad it shows the black rectangles. 
This only occurs when the file is 44 bytes long.

Java reads the file normally.

Maybe something to do with character encoding?! but does notepad handle character 
encodings??

Does anyone here knows whats going on? 

Henrique Viecili


STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole use of the 
intended recipient. Any review or distribution by others is strictly prohibited. If 
you are not the intended recipient please contact the sender and delete all copies.

Ce Message est uniquement destiné aux destinataires indiqués et peut contenir des 
informations confidentielles. Si vous n'êtes pas le destinataire, vous ne devez pas 
révéler le contenu de ce message ou en prendre copie. Si vous avez reçu ce message par 
erreur, veuillez en informer l'expéditeur, ou La Poste immédiatement, avant de le 
supprimer.

Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan vertrouwelijke 
informatie bevatten. Als u niet de ontvanger bent, dan mag u de inhoud van dit bericht 
niet bekendmaken noch kopiëren. Als u dit bericht per vergissing heeft ontvangen, 
gelieve er de afzender of De Post onmiddellijk van op de hoogte te brengen en het 
bericht vervolgens te verwijderen.

Reply via email to