Hello,
Let's talk about html entities. So, when I press my superkeyboard for 5€....
Exactly, instead of Euro character I (and I pressume you too) can see '€' (decoded entity);
Then I try to type '#8364;' and '' (either just typing or pressing magic key ALT and then 8364 or 128 on numeric keyboard) and I press EDIT BUTTON. My comment still contains decoded entity...
The problem concerns gtv as well as crossfire, but not the input fields on these websites. When I'm posting something, it's ok, but when a comment is added, I can only see these entites.
So my question is, HOW THE FUCK CAN I GET MY ENTITIES CORRECTLY ENCODED?!
The iritation you might have found (or you might have not) in my question is directed to entities, not to you.
I'd like you to help me in this issue.
Regards
Forum » Smalltalk » Lets talk about ... » ... html entities!
deact_12795 |
... html entities! on
24.07.08 22:18
|
Killerboy |
same i can't write the euro sign: €
or to the power of 2 ^2: ☻ |
h3ll
|
©
:> thats with alt 0169 tho, i dont have the control shift thingies set |
arni
|
24.07.08 22:40,
Last edited: 25.07.08 02:23
dno, it seems like some browsers already encode certain characters as entities - we'll probably have to decode them again before storing it |
Gero |
I bet it's your east european connection! :D
=> np here :D [edit] polish => east european :D |
ng
|
i borrow you some of my eurosign's:
|
cl4ym4n
|
Anyone interested in joining my 'i-want-my-euro-sign-back'-initiative? :D:D
I got the same problem... €€€€€ xD |
arni
|
after looking around a bit, i can now see whats happening
we're using iso-8859-1 as encoding for the page - thats the most common encoding for "western" languages Taking that codepage very literaly, there is no eurosign available in there. So some browsers that want to be uber correct encode the eurosign into its html entitiy to solve the problem will look into that soon, probably by finally switching everything over to utf8 |
cl4ym4n
|
What about just post-processing the comments etc. and just replacing € with the original entity-code € ?
Since you apperantly got some kind of bbcode-class anyways, it should be np to insert some lines for several b0rked signs into it... Would be lot less work compared with changing the whole charset on the page/database... |
arni
|
because you simply solve all problems related to charsets with utf8 instead of only one by one ^^
|
cl4ym4n
|
Are there sooo much encoding-problems which would make it necessary to change the complete charset? I personally just noticed a handful of signs within the comments which cause problems... o.o?
However... do what you want, but gimme my euro-sign back!!11 :D |
skooli
|
a) fix the symptom (manually decode certain chars)
b) fix the underlying cause (use utf-8) what sounds better? |
andyF1
|
c) go for a b33r and forget it all!
|
h3ll
|
utf8, but will it cause any problems?
|
deact_12795 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
OMG OMG NOW I SEEEEEE and oh, btw, I choose c) option. and oh, btw, afterall Geronimo was quite close to the truth :) |
kitsep6rutaja |
€€€€
right, how to i set the bastard to utf8 |
deact_12795 |
it's up to arni, skooli & co, not you :-)
|
b1bub4bu |
ččččččččč
|
Gero |
|
shivAo |
€
|
This Thread is closed and cannot be commented on anymore. |