On May 10, 2012, at 11:15 AM, sebb wrote:

> On 10 May 2012 07:17, Dennis E. Hamilton <dennis.hamil...@acm.org> wrote:
>> 1. You can Save as UTF8 in Windows Notepad.
>> 
>> 2. The BOM (Byte-Order-Mark) is a special two-byte prefix that is usually 
>> used with UTF16 to determine whether the two bytes of each 16-bit code are 
>> big-endian or little-endian.  Some products (including Windows Notepad) also 
>> put a BOM on the front of UTF8 streams.  Some software is hostile to it 
>> being there, other software accepts it and recognizes the following code as 
>> UTF8 anyhow. You ran into a hostile case.
>> 
>> Since you don't see the BOM (it is on front of the file but is not treated 
>> as a character), and you are on Windows, you need a text editor that doesn't 
>> produce them and also discards any that it encounters.
>> 
>> I recommend an HTML editor.  If you prefer text raw editing, I think jEdit 
>> will work for.  It is a Java application, available on SourceForge.  The 
>> Windows version of gedit will also save text in UTF8.  That probably doesn't 
>> produce a BOM.  (It is difficult to know if one is there or not without 
>> looking at the beginning of the file in a hex editor/viewer.)
> 
> My copy of Notepad++ (v5.9) has the following Encoding Menu options:
> 
> Encode in ANSI
> Encode in UTF-8 without BOM
> Encode in UTF-8
> ...
> Convert to ANSI
> Convert to UTF-8 without BOM
> Convert to UTF-8
> ...

Thanks! I've added a note to 
http://incubator.apache.org/openofficeorg/website-local.html

Regards,
Dave
> 
> 
>>  - Dennis
>> 
>> 
>> 
>> -----Original Message-----
>> From: Reizinger Zoltán [mailto:zreizin...@hdsnet.hu]
>> Sent: Wednesday, May 09, 2012 22:42
>> To: ooo-dev@incubator.apache.org
>> Subject: Re: svn commit: r1336368 - 
>> /incubator/ooo/ooo-site/trunk/content/hu/brand.mdtext
>> 
>> 2012.05.09. 23:02 keltezéssel, Dave Fisher írta:
>>> On May 9, 2012, at 1:28 PM, Reizinger Zoltán wrote:
>>> 
>>>> I'm not programmer and try to change Hungarian site.
>>>> What is the BOM?
>>>> 
>>>> In this environment hard to me to do any useful work changing the 
>>>> Hungarian site to useful format.
>>>> I will stop doing it.
>>> I'd like to understand how that bad character was added. You weren't the 
>>> only one with the same problem and you won't be the last.
>>> 
>>> What do you use to edit the mdtext files?
>> I used win7 notepad first(it was coded as ASCII, which is wrong if I
>> need to use accented characters, but I not was aware to this).
>> In second case in Notepad ++ when I converted from ASCII coding to
>> UTF-8, and I think it was correctly coded, possibly I needs to be aware
>> to another settings, which I don't know.
>> Zoltan
>>> 
>>>> But how can I proceed to do it?
>>> I've fixed these two files for you. It looks good at 
>>> www.openoffice.org/hu/. You can proceed.
>>> 
>>> Regards,
>>> Dave
>>> 
>>>> Thanks,
>>>> Zoltan
>>>> 
>>>> 2012.05.09. 21:49 keltezéssel, Dave Fisher írta:
>>>>> Same problem here - what are you using to cause BOM?
>>>>> 
>>>>> 
>>>>> 
>>>>> On May 9, 2012, at 12:42 PM, r4z...@apache.org wrote:
>>>>> 
>>>>>> Author: r4zoli
>>>>>> Date: Wed May  9 19:42:28 2012
>>>>>> New Revision: 1336368
>>>>>> 
>>>>>> URL: http://svn.apache.org/viewvc?rev=1336368&view=rev
>>>>>> Log: (empty)
>>>>>> 
>>>>>> Modified:
>>>>>>     incubator/ooo/ooo-site/trunk/content/hu/brand.mdtext
>>>>>> 
>>>>>> Modified: incubator/ooo/ooo-site/trunk/content/hu/brand.mdtext
>>>>>> URL: 
>>>>>> http://svn.apache.org/viewvc/incubator/ooo/ooo-site/trunk/content/hu/brand.mdtext?rev=1336368&r1=1336367&r2=1336368&view=diff
>>>>>> ==============================================================================
>>>>>> --- incubator/ooo/ooo-site/trunk/content/hu/brand.mdtext (original)
>>>>>> +++ incubator/ooo/ooo-site/trunk/content/hu/brand.mdtext Wed May  9 
>>>>>> 19:42:28 2012
>>>>>> @@ -1,10 +1,10 @@
>>>>>> -home:             home
>>>>>> -search:           keresés
>>>>>> +home:          home
>>>>>> +search:           keresés
>>>>>> name:              Apache OpenOffice (incubating)
>>>>>> -tagline:  (incubating) | Nyílt és ingyenes irodai programcsomag
>>>>>> +tagline:  (incubating) | Nyílt és ingyenes irodai programcsomag
>>>>>> logo:              AOO_logos/OOo_Website_v2_copy.png
>>>>>> domain:            www.openoffice.org
>>>>>> divid:             bannera
>>>>>> announce:  Megjelent az Apache OpenOffice 3.4
>>>>>> announceurl:       /hu/aoo34.html
>>>>>> -announcetip:      Olvassa el a bejelentést
>>>>>> +announcetip:      Olvassa el a bejelentést
>>>>>> \ No newline at end of file
>>>>>> 
>>>>>> 
>>> 
>> 

Reply via email to