[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Regarding locale and patch!
Frank Miedreich wrote:
[DEL]
> >diff tell me
> >
> >---snip------------------
> >server:#diff Search.pm.sic Search.pm
> >35c35
> >< if($ =~ /win32/i) {
> >---
> >> if($ =~ /win32/i) {
> >---snip------------------
> >
> >I can't see any difference! But with a hexeditor, is see the difference
> >like
> >hexedit Search.pm.sic (original)
> >00000410 0A 0A 69 66 28 24 0F 20 3D 7E 20 2F 77 69 6E 33 32 2F 69 29
> >..if($. =~ /win32/i)
> > ^^^^^^^^^
> >hexedit Search.pm (after patching)
> >00000410 0A 0A 69 66 28 24 20 3D 7E 20 2F 77 69 6E 33 32 2F 69 29 20
> >..if($ =~ /win32/i)
> > ^^^^^
> >
>
> In ASCII the character 0F is "shift in", a control character to resume the
> default character set. (at least it was on the PDP-11. I have no idea what
> it is used for today) It is entered as ^O, so maybe you tried to open a
> file at that spot and accidentally entered this character. Many text
> editors will not display control characters, but if you move forward over
> the spot with the arrow keys, you should need an extra keypress to move
> over this spot.
>
> If you erase this char with hexedit, you should be ok again.
>
> Frank
Hi Frank,
thank you a lot for your information!
OK! I can edit the file and erase this char with hexedit.
But is it possible, that all files of minivend has a lot of this char
and this char produces some failure? E.g. i have trouble to find an
items (publisher = WESTFÄLISCHES DAMPFBOOT) with "wesftä" as a
searchstring and mv_case=0 (or mv_case=no).
Or why did i get a new tar file from the minvend ftp site with this
char? I have not changed the version of my FreeBsd, tar or NS.
Don´t misunderstand me. I am new in FreeBSD and perl! I try to find the
mistake or any error anywhere in my machine or codes. Did i have this
trouble only?
This is my problem and this is the reason, why i have post my email
here!
With a big thank for any hints, suggestions, tips, helps or moral
support
Joachim
--
-------------Hans-Joachim Leidinger---------------------