Re: [poedit-users] Character encoding issue

Vaclav Slavik <[email protected]> Mon, 02 Feb 2009 23:03:47 +0100
Newsgroups gmane.editors.poedit.user
Message-ID <1233612227.23156.391.camel@localhost>
Hi,

[merged reply to two your emails]

On Mon, 2009-02-02 at 11:21 +0100, Johannes Mario Ringheim wrote:
> 2. File->New Catalog, with these settings:
> Project name: feilbeh
> Language: Norwegian Nynorsk
> Country: Norway
> Encoding: utf-8
> Encoding sourcecode: utf-8
> Path: [Path to sourcecode] (no root folder)
> Save as: [Path to sourcecode]/locale/LC_MESSAGES/default.po

There is no "Save as" setting. You probably meant that in the next step,
you saved the file as that file, but please learn to be precise.

> may reside) appeared. So I did the same steps, but this time I named the 
> file "messages.po" instead of "default.po",
...
> Save as: [Path to sourcecode]/locale/LC_MESSAGES/default.po

These two lines contradict themselves, you couldn't have named the file
default.po and messages.po at the same time. Again, you have be precise
when reporting bugs, you're making it unnecessarily hard to understand
them otherwise.

> Technical details of setup:
> Poedit version: 1.4.2
> Operating System (or "Linux" distro, if you will): Mandriva 2009.0, 
> kernel 2.6.27.5-desktop586-2mnb
> 
> Is this sufficiently detailed?

No. You can answer that question yourself easily: can *you* take the
instructions you just wrote me, follow them to the letter *without using
any other information* (such as your files you didn't see fit to share,
or some secret information you didn't mention), on *another* computer,
and reproduce the problem? Clearly, no: you wouldn't be able to create
the catalogs without the source code.


On Mon, 2009-02-02 at 12:48 +0100, Johannes Mario Ringheim wrote:
> The files in question aswell, of course.
 
These two files are identical:

$ md5sum messages.po fanden.po 
f56ffa534ff572ad1ad9c0ef498d098b  messages.po
f56ffa534ff572ad1ad9c0ef498d098b  fanden.po
$

I can't resist noting that this is something you could have easily
checked this yourself and save us both some time. It also means Poedit
isn't doing anything wrong when saving as "messages.po" (to be honest,
that would be quite insane thing for it to do...).

Corollary: If you are seeing these "two" files differently in some
application, it is said application (and not Poedit), that is to blame.
Either that or there is some crucial detail you didn't see fit to
mention. I still suspect the latter, because I can't believe GEdit would
do something as absurd as treating "messages.po" name differently (mine
certainly doesn't).

Regards,
Vaclav

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com

_______________________________________________
Poedit-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/poedit-users
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEABECAAYFAkmHbcMACgkQxDYa/UZSZMlCBQCgma4+n/xCWeM34wZaXQItAb9K
nd0AnAioO4+YOdmUf/F9cVkb9ntfQtzs
=snSn
-----END PGP SIGNATURE-----