UTF8 encoding bug in part u588p02c03.dat?


UTF8 encoding bug in part u588p02c03.dat?
#1
During fixing of utf8 handling in LDCad I stumbled on this part: "u588p02c03.dat".

One of the keyword lines seems mangled. Even in utf8 editors (it comes out partly Korean or something).

This can't be right?

The line above it (with elephant etc) does contains valid utf8 coding though.
Reply
no, it's correct :-)
#2
no, the file is correct :-)

it contains these characters:
エドワードエレファント

Try pasting them into Google translate :-)

we took them from a Korean Fabuland book...

Now that our LDRAW files are UTF-8 there's no reason that we stick to the English-speaking world ;-)

You can e.g. confirm that the file is correct by opening it with a good UTF-8 capable tool.

Microsoft Word for example will recognize the file as UTF-8 encoded and show all characters correctly.
Reply
Re: no, it's correct :-)
#3
Huh, cool. Looks correct in Bricksmith, FWIW:

[Image: u588p02c03unicode.png]

I had no idea I had elephant-men in my LDraw library.
Reply
Re: no, it's correct :-)
#4
Steffen Wrote:
-------------------------------------------------------
> no, the file is correct :-)
>
> it contains these characters:
> エドワードエレファント
>

Ah ok, for some reason it didn't look 'completely' Korean to me, probably because of the 'I' en '-' looking chars I guess.

Just wanted to be sure my code handles it correctly.

Thanks
Reply
this is also a good test...
#5
...for the proper UTF-8 handling of this forum :-)
Reply
sorry
#6
sorry: not Korean. instead: Japanese.

I had remembered wrongly what we did on the PT when releasing the part.
Reply
Re: sorry
#7
Is there someplace where the old PT votes and comments are stored for currently official parts, just for reference to see how things were resolved in the past in order to establish precedent, etc. (for those of us who weren't around at the time and thus can't simply remember).
Reply
Re: sorry
#8
Yes, but I don't think this would be useful to provide access to this - the Parts Tracker should not become a discussion forum. Library-wide decisions that are taken during review on the Parts Tracker should be documented elsewhere.
Chris (LDraw Parts Library Admin)
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 1 Guest(s)