[RESOLVED]Rapido Souvinir set

Started by tusko, June 24, 2013, 02:26:00 PM

previous topic - next topic
Go Down

tusko

June 24, 2013, 02:26:00 PM Last Edit: October 30, 2014, 07:41:30 PM by shmax
The right side panel is full of gibbrish for the character bio and descriptions.

I hope the link works:
http://www.shmax.com/part_details/22083/rapido
.

engledogg

#1
June 24, 2013, 03:49:12 PM Last Edit: June 24, 2013, 03:51:31 PM by engledogg
I know Rapido's tech card/bio and motto were in Spanish...maybe the system didn't recognize it?

Quote from: Rapido's Tech Card
¿Cómo se dice? Ah, sí, "purely magnificent"! Significa que puedes luchar con estilo.

Aunque es un lider natural, un tactico experto y maestro de improvosación en el campo de batalla, el elegante y sensato Rapido no tiene ningún deseo de gobernar. Preferiria vivir la buena vida en el circuito internatcional de carreras otra vez, pero mientras que alguien amenace su planeta de origen, la Tierra. Rapido se presentará para defenderla con su vida. Él difiere el liderazgo de los Autobots basados en la Tierra a su amigo Autobot Spark, pero ha sido autorizado por Optimus Prime a asumir el control de cualquier unidad militar que funcione en la Terra tal como se requiera. Su Canon Acelerador lanza una cortina de plomazos a supervelocidad, y además lleva gemelos lanzadores de misiles fotón. La exposición accidental al gas Forsonite le ha dado un cuerpo que se iguala a la velocidad de su mente; en un instante puede acelerar a una velocidad de 750MPH en arranques de velocidad que duran hasta 15 segundos.


MIKE
engledogg
Dumba$$ that used to buy everything...not so much anymore.

shmax

Beats me. We've certainly had plenty of other foreign languages in these fields. I cut and pasted the info from backup, and it seems okay again. *shrug*

Tripredacus

#3
June 25, 2013, 11:16:51 AM Last Edit: June 25, 2013, 11:18:26 AM by Tripredacus
Its a character set encoding problem.

Code Select
"¿Cómo se dice? Ah, sí, "purely magnificent"! Significa que puedes luchar con estilo."

It may not display properly here, but there are extra (what charmap calls) "Latin Capital Letter A With Tilde" showing up. It has to do with how the data is being read/input from the database.

You can read about this exact problem here:
http://stackoverflow.com/questions/2883504/problems-with-utf-8-encoding-in-php

engledogg

My question is why does it appear perfectly fine immediately after submitting it, but then "degrades" with each viewing/refresh/edit to something else on the mod page?

MIKE
engledogg
Dumba$$ that used to buy everything...not so much anymore.

Tripredacus

I would guess that the initial view you see is cached from your input, since that data is kept "in memory" from the submit function. However, viewing the page or doing a refresh, is reading the data from the database, where the conversion is done and then you see the incorrect characters.

engledogg

Ah...I see.

MIKE
engledogg
Dumba$$ that used to buy everything...not so much anymore.

shmax

Weird one, turns out I had the wrong character encoding on the form. It's weird becuase I was sure we had sorted all the funny character business ages ago--Spaceharfang used to enter in French, Spanish, Portuguese, and so on. Anyway, seems to work, now. Thanks much for the bug, folks. *scratches head some more*

tusko

I still see non-standard character gibbrish. Its better but there are still sections with issues.
.

shmax

Ack! Hmm, I guess it wants to be stubborn about it. I'll take another crack at it soon.

engledogg

Yeah, not sure if this is related , but the tranlsate html doesn't seem to be working either:

http://www.shmax.com/part_details/23890/lugnut

MIKE
engledogg
Dumba$$ that used to buy everything...not so much anymore.

Tripredacus


engledogg

Bumping this...

MIKE
engledogg
Dumba$$ that used to buy everything...not so much anymore.

shmax


Bumping this...

MIKE
engledogg

Oh, all right. Taking another look...

shmax

#14
July 12, 2013, 03:17:44 PM Last Edit: July 12, 2013, 03:19:22 PM by shmax


Bumping this...

MIKE
engledogg

Oh, all right. Taking another look...


It's something to do with source file encoding. The database is fine. I switched to a new IDE several months back, and I neglected to make sure it is saving files with utf-8 encoding, so things have blown up. Unfortunately there doesn't seem to be any easy way to recursively batch convert a directory of files, so it's going to take some time to sort out. Groan.

Go Up