Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special characters not shown correct when they are cut #195

Closed
michihdeu opened this issue Jul 15, 2017 · 3 comments
Closed

Special characters not shown correct when they are cut #195

michihdeu opened this issue Jul 15, 2017 · 3 comments

Comments

@michihdeu
Copy link
Contributor

michihdeu commented Jul 15, 2017

http://tm.teresco.org/user/system.php?sys=eursf

Primer Cinturón de San Sebasti�
Mіnskaja Kaĺcavaja Aŭtamabі�
...

It's not a csv issue, see HB:
http://tm.teresco.org/hb/?r=esp.gi020
http://tm.teresco.org/hb/?r=blr.mkad

It seems to happen because the text is cut within the special character which allocates more than 1 byte...

Why are the texts cut at all? If they wouldn't be cut, the problem would be gone...

@michihdeu michihdeu changed the title Special characters not shown correnct when they are cut Special characters not shown correct when they are cut Jul 15, 2017
@jteresco
Copy link
Contributor

I first thought it must be that the entries were too big for the DB field (48 characters), but the entire name is stored there. I am not seeing anything in system.php that would try to truncate... Hmm...

@jteresco
Copy link
Contributor

No, wait, the DB field used here is actually only 32 characters. I was looking at routes.city, and this query uses connectedRoutes.groupName. I'll expand it for the next site update.

@michihdeu
Copy link
Contributor Author

Works, thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants