Project

General

Profile

Bug #427

Linux: Parsing of float values in Part config files dependent on locale

Added by Laochailan about 11 years ago. Updated over 7 years ago.

Status:
Closed
Severity:
Normal
Assignee:
-
Category:
Gameplay
Target version:
-
Start date:
03/17/2013
% Done:

100%

Version:
Platform:
Linux
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

Reproduce:
1. LANG=de_DE.UTF-8 ./KSP.x86
2. Go to VAB
3. see how all floating point values in Part descriptions are garbage and especially Nodes are missing in the places they should be.

Launching with LANG=C fixes the problem.

That's very hilarious. There are languages (e.g. German) where decimal values are separated by comma and not by period. Whatever you guys are using to parse those values from the Part files seems to consider the system locale for that, rendering the Game unplayable on all systems with German locale.


Related issues

Related to Kerbal Space Program - Bug #1114: Game depends on $LANG to work correctly, not playable with my settings.Closed07/25/2013

Has duplicate Kerbal Space Program - Bug #504: Can't connect any partsClosed03/27/2013

Has duplicate Kerbal Space Program - Bug #1575: FormatException on game loadingDuplicate10/18/2013

History

#1 Updated by Ted about 11 years ago

  • Status changed from New to Confirmed
  • % Done changed from 0 to 10

While I have not observed the behaviour, it can be seen in the following thread

#2 Updated by Anonymous about 11 years ago

  • Severity changed from High to Urgent

Moving this to urgent priority as it seems to be causing all sorts of issues on Linux

#3 Updated by Ted about 11 years ago

  • Severity changed from Urgent to Normal

Has a temporary fix.

#4 Updated by sr over 10 years ago

  • Platform Linux added

#5 Updated by sal_vager over 8 years ago

  • Status changed from Confirmed to Resolved
  • % Done changed from 10 to 100

This is fixed in 1028, system locale is no longer used for float value delimiters.

#6 Updated by TriggerAu over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF