Issue 9441 - lithuanian letters in user-profile lost during install
Summary: lithuanian letters in user-profile lost during install
Status: CLOSED FIXED
Alias: None
Product: Installation
Classification: Application
Component: ui (show other issues)
Version: OOo 1.0.1
Hardware: PC Other OS
: P3 Trivial with 2 votes (vote)
Target Milestone: OOo 1.1 Beta2
Assignee: dirk.voelzke
QA Contact: issues@installation
URL:
Keywords: oooqa
: 9794 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-11-22 07:23 UTC by Unknown
Modified: 2003-09-08 16:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
screenshot what I entered during user instalation (11.62 KB, image/png)
2003-04-03 23:32 UTC, mantas
no flags Details
User profile with corrupted Lithuanian letters (791 bytes, text/html)
2003-04-03 23:34 UTC, mantas
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-11-22 07:23:38 UTC
When I instaling OpenOffice program 1.0.1  version I have to fill dialog “Enter
User Data” where I have to write user name. Usually I have to write lithuanian
letters (like ė, č, ū,š). There is no problem with installation. I finishing 
installation and opening the program. Then I go to check user name,
Tools->Options->User Data and I can't see lithuanian letters any more  , all
lithunian letters changed to question-marks.
Comment 1 egle 2003-03-26 12:50:36 UTC
I'm confirming this issue on OOo 1.1 beta on Linux.

Please, fix this problem before OOo 1.1 final - the majority of users
feel, that a software, which currupts user data (most lithuanians meet
this bug just after installation) doesn't seem to be trustworthy...
Comment 2 vytis 2003-03-26 12:59:23 UTC
i think this is problem of OppenOffice used encoding. 
It seems , that OO saves all data using ISO-8859-1 encoding. IMHO, it
should be UTF-16.

Comment 3 lohmaier 2003-03-31 16:19:00 UTC
OOo stores the user-profile data in UTF-8
Could you please attach a sample file of lithuanian user-profile-data
(the file user/config/registry/instance/org/openoffice/UserProfile.xml
in your Workstation-Install)
Maybe a Screenshot of what it should display (using any program) and
what it actually does display (the dialog Tools->Options-User data)
could help...

Have you tried changing the UI-Font using the font replacement?
(replace "Andale Sans UI" (type it in the appropriate field, the font
is not listed) and replace it with a font that surely contains these
characters  (check "always" and "display")

You may also try to use a scaling of more or less than 100%
(Tools->Options->View->Scale) This may cause your fontserver or X to
supply another font that may match and look better.
Comment 4 mantas 2003-04-03 23:30:46 UTC
Problem isn't in fonts - I'm attaching screenshot what I entered
during user instalation and what info is in file
~/OpenOffice.org1.1Beta/user/registry/data/org/openoffice/UserProfile.xcu
 after installation (there are no
user/config/registry/instance/org/openoffice/UserProfile.xml file in
OOo1.1 beta)

I noticed that one lithuanian letter - scaron are correct in this file
while all others are changed to question-marks.
Problem exist only in installation - all lithuanian letters are saved
correctly if I enter user data after installation.
Comment 5 mantas 2003-04-03 23:32:45 UTC
Created attachment 5451 [details]
screenshot what I entered during user instalation
Comment 6 mantas 2003-04-03 23:34:38 UTC
Created attachment 5452 [details]
User profile with corrupted Lithuanian letters
Comment 7 mantas 2003-04-04 00:39:06 UTC
It seems that openoffice isuezilla added some html shuff from
openoffice.org to UserProfile.xcu :(

I can paste the content of profile directly - there are only us-ascii
symbols and question-marks (in organisation - Tut?s uodeg?, surname -
Kriau?i?nas and street), except scaron:

<?xml version="1.0" encoding="UTF-8"?>
<oor:node xmlns:oor="http://openoffice.org/2001/registry"
xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:name="UserProfile"
oor:package="org.openoffice">
 <node oor:name="Data">
  <prop oor:name="c" oor:type="xs:string">
   <value/>
  </prop>
  <prop oor:name="givenname" oor:type="xs:string">
   <value>Mantas</value>
  </prop>
  <prop oor:name="initials" oor:type="xs:string">
   <value>MK</value>
  </prop>
  <prop oor:name="mail" oor:type="xs:string">
   <value/>
  </prop>
  <prop oor:name="o" oor:type="xs:string">
   <value>Tut?s uodeg?</value>
  </prop>
  <prop oor:name="sn" oor:type="xs:string">
   <value>Kriau?i?nas</value>
  </prop>
  <prop oor:name="street" oor:type="xs:string">
   <value>Pašil?s</value>
  </prop>
 </node>
</oor:node>
Comment 8 lohmaier 2003-04-05 20:45:15 UTC
Ahh, now I can reproduce this bug. (even though entering these symbols
is hard using a de_DE layout ;-)
The important thinis that this *only* happens during installation and
that it works as expected when OOo is already installed..

confirming issue. -> reassigning to installation-project... changed
subject (original: Do not show lithuanian letters.)

Description:
User-Profile data that contains special characters (like lithuanian
letters) entered during installation is not saved correctly.

The file UserProfile.xcu represents these just as questionmarks
instead of the proper UTF8-encoded string.
Not every non-ascii symbol is affected (german and french specials
work, for example)

This only occurs during the installation process. These characters can
be entered via Tools|Options->User Data without any problems.

To reproduce (with 1.1beta):
1) Start setup (single user - for convenience)
2) When asked for user profile data enter special characters like seen
in the screenshot (e with dot above, u with horizontal line above, a
with cedille,...)
3) continue installation

After installation is finished, have a look at
$Inst-dir/share/registry/data/org/openoffice/UserProfile.xcu
-> Characters were converted to questionmarks.

Should be fixed for next release. Not setting to P2 since easy
workaround exists (enter user data after installation).

Trying to insert the text like seen in the screenshot into this
comment so you can copy & paste some of these characters. Maybe this
won't work...
Tut&#279;s           uodeg&#261;
   ^ e with dot      ^ a with cedille
Kriau&#269;i&#363;nas 
     ^c with upside-down circumflex
       ^ u with horizontal line
There surely are more characters that aren't converted correctly..
Comment 9 Olaf Felka 2003-04-07 14:03:39 UTC
Hi Dirk,
I've tried at setup with this four characters: &#363;&#269;š&#279; (I hope they are
readable here, input with Character Map). If these are used at
installation, the user data looks like this: ??š? Is this your part?
If not, please forward.
I've set the target to Beta2. I don't know if we can reach it, so
please retarget if Beta2 is an illusion.
Comment 10 dirk.voelzke 2003-04-07 15:48:45 UTC
*** Issue 9794 has been marked as a duplicate of this issue. ***
Comment 11 dirk.voelzke 2003-04-07 15:49:19 UTC
I'll have a look.
Comment 12 dirk.voelzke 2003-04-08 15:20:46 UTC
Fixed in cws SRX644 setup07
Comment 13 dirk.voelzke 2003-04-29 16:24:37 UTC
Verified in SRX644 m12
Comment 14 dirk.voelzke 2003-04-29 16:59:31 UTC
.